Infosys Interview Question

Written test had difficult puzzles