Domanda di colloquio di Garmin

About the assignment solution and space complexity of the solution