Infosys interview question

They asked problem solving and coding