Pergunta de entrevista da empresa Infosys

Pattern based coding question is asked.