You are viewing a single comment's thread. Return to all comments →
I think the point of the challenge is to solve the problem using a Queue, rather than just trying to solve it using any possible solution.
But when I used a queue it timed out. I did without a queue and it passed all tests.