Wipro interview question

Good