Pregunta de entrevista de Arm

Explain the structure of the programming assignment. Time and space complexity of the solution implemented.