Wipro interview question

General question from engineering