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.
done
it's unclear whether strings consisting entirely of spaces are possible input or not. the description does say that the string can be empty, and several languages have a fixed test with an empty string that results in an empty array, which is probably the intended answer for a string consisting entirely of spaces as well.
Merged
proposed fix there
I revamped the tests. The tests' structure is now as follows:
That's exactly what is being done, omitting the return keyword is just a common shorthand for 1 liner arrow functions
Nice kata, but it would be great to have a preloaded "events" dictionary that maps snakes and ladders where keys represent the old positions and values the new ones.
This would save time and effort and help prevent mistakes from transfering the values by hand.
Couldn't it be better to show why the tests aren't passing?
like saying the moves played so far so that I track where the problem in code is
my code passed 1000 tests and didn't pass another 1000 ones
I liked this kata too much because it makes You to think hard in every marshroot case. Thank You very much!
replaced the HTML table with Markdown
Description table is hard to see in light mode.
Soooo cooooooooooooooooooooooooooool🚀
i enjoyed this one...thank you
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...