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.
@kjanus-thecreator Description says. "The tests contain some very huge arrays, so think about performance"
I insist this 6 kyu kata's solution should be implemented in imperative style, not two-lines declarative one. Otherwise it must be 7 kyu.
This comment is hidden because it contains spoiler information about the solution
protect my brain cells!
out of bounds
It has to be 4 kyu. And add regular expressions tag to this kata.
in javascript we got 1+ progress point even if player's rank is 2 levels higher or even more than task's rank.
So roughly say we have to code:
if (player.rank > task.rank) progress = progress + 1;
instead of:
if (player.rank - task.rank == 1) progress = progress + 1;
Actually if you scroll down comment section you will see similar reports in js.
Thank you for spending my time.