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.
im 6kyu and Im dying T.T
I was wondering what the point of the higher order function was, but clearly it turned 4 lines of repeated code into 1. Had to change my solution to this one!
Sorry, you were right, the error was in my code. I already manage to resolve this kata. The most difficult 5kyu I made.
I did the JS translation. I tried the code below. The full test finised in 2111ms, and the log shows test completed in 568ms at the end. Maybe your issue was some server problem?
If I write just a return false; statement, I also get a timeout in JavaScript, but this doesn't happen with python. Does anyone else manage to do in JavaScript?
The JS solution is possible, as one person has already completed it. The test amount in JS is the same as in Python, which runs slower than JS. This isn't an issue with the tests. In beta, the average assesed rank for this kata was 4kyu, but it was published as a 5kyu kata because it is easy to hardcode your solution (as mentioned in the discourse below).
Happy coding :)
I am trying to make this kata with JavaScript and I think is impossible, it passes all the tests, but i got time out every time, is not possible that is so difficult for a 5kyu kata, it may be some error with the tests
ranks cant be changed
I think is too easy for 4kyu, it shoould be 7kyu or at least 6kyu