Pergunta de entrevista da empresa Wipro

Some puzzle in between technical questions