Arm Interview Question

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