Infosys Interview Question

They asked basic puzzles and technical questions