Infosys interview question

They checked problem Solving issue