Infosys Interview Question

general puzzles and basic codes