Pregunta de entrevista de Accenture

2 Coding basic problems were asked