Pregunta de entrevista de LTM Limited

Dsa medium level question and dev also