Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Please use spoiler flag.
This comment is hidden because it contains spoiler information about the solution
The tests are fine, your algorithm is not.
?? People are in the input array, in the order of the input array. So they are as many as the array has elements. The first is the first element of the array, the second is the second, and so on... Is it really stupid?
Stupid kata not explained properly. How many people are in the queue and what order are they in??
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution