Pergunta de entrevista da empresa Infosys

I was asked some puzzles in the HR interview.