Tatvasoft interview question

Oops