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.
In my opinion, this scenario is like a supermarket checkout situation. You would always choose to go to an empty checkout lane, or if all are occupied, you'd pick the lane with the shortest wait time. That's why the function call queueTime(std::vector{2,3,10}, 2) should return 12, not 10.