Pregunta de entrevista de Mphasis

Coding and how you approach to solution