Pregunta de entrevista de Capgemini

For fresher they ask pattern coding questions