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.
C fibonacci tests are certainly wrong 👎
This comment is hidden because it contains spoiler information about the solution
For those postceeds me:
"The order of the queue NEVER changes, and"
How can I delete my comment? :D
If the keys are the intergers from 0 to n, a list is better than a dict.
Why do you use separate loops for the first n customers? General algorithm works with them.
You search for minimum value 2*n+1 times for each customer, one time is sufficient.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution