Pergunta de entrevista da empresa Infosys

Coding question is difficult but technical is easy.