Wipro interview question

Nothing Difficult