Wipro interview question

Not sure it was a long back