Infosys Interview Question

I was asked some puzzles in the HR interview.