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.
I had the same time out problem. Did you find a solution?
Did you eliminated the server timeout error. I have been coding in javascript and I have the same error.
I know that you posted this some time ago. I had the same problem with memory overflow. I refactored my code and now I dont have that problem. But now I have an exit code, because of execution timeout. Did you finally solved it?
++++++function whoIsNext(names, r){
++++++let num = 0
++++++while((names.length + num) < r) {
++++++let name = names.shift()
++++++names.push(name, name)
++++++num += 1
++++++}
++++++return names[r-num-1]
++++++}