Infosys interview question

They asked basic puzzles and technical questions