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.
It was a nice question. I was able to avoid the actual queue data structure (my brute force), and I just needed an array to represent the total queue time for each queue.
PHP translation
I have translated this kata for R. Feel free to check it out here.
You should show all the wrong results (with the inputs) for easier troubleshooting.
This comment is hidden because it contains spoiler information about the solution
I'm having a problem to solve this kata in C. I got the following error:
Test Crashed Caught unexpected signal: SIGSEGV (11). Invalid memory access.
I've never got it before and couldn't find any usefull information about it. I try the same code i use here on my own compiler and works perfectly, at least with the test cases shown.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution