Infosys interview question

Typical technical interview.