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.
This comment is hidden because it contains spoiler information about the solution
Lol
it took me a lot of time to figure out and still unsure wich could be the best solution, cant stop thinking bout this problem haha
Completed it. Very satisfying to get it working
5kyu is far too high for this IMO. Challenging to get functionally correct, extremely tough to optimize under the time limit. Closer to a 2-3kyu IMO.
and how long?)
Shocked how long that took....
Done at last. My brain is fried.
This comment is hidden because it contains spoiler information about the solution
So tests actually don't pass. See https://docs.codewars.com/training/troubleshooting/.
fixed, thx for the catch !
When reading the user's solution, you should define the variable with
const
so the user can't overwrite them.Tricky, harder than a 7 imo.
Javascript tests are broken, if one breaks the rest start given some really screwy expectations. Maybe they aren't completely isolated. Apply rank 8 to rank 6 should give 40 points to add according to description and result in no rank change (old progress 53, new progress 93). But the test wants a rank up for this (to 7), and wants new progress to be 31 (????).
Loading more items...