Pregunta de entrevista de Tata Consultancy Services

Writing a code for a random problem using any language