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.
Took 2 weeks to solve, but I had a lot of fun, and learned a lot on the way!!
Something is wrong with the
Duplication exception tests
I did comment it out from my sample tests, and it allowed my solution to pass all tests.
I also, tried other users solutions, and they do not pass this test case as well.
Guys, I updated the description and added an example of how steps are counted, it should make the kata a bit better
that's not true in JavaScript where strings are arrays of UTF-16 code-units.
"🐸"[0] !== "🐸"
. I know that you know how to get around this, but many beginners do not, so i fell like it's not completely unwarranted to pass an array of codepointsBut spitting the inner string into an array of characters ( encoded as strings, because JS doesn't have characters ), doesn't add anything.
People can index into strings just as well as they can index into arrays.
All you're doing is adding visual clutter.
.
Done
it's still not sufficient. My original solution still passes. There needs to be a lot more random tests, something like 100-200
Increased the difficulty
testing really needs to be beefed up. Look at my solution
?
Yeah, but it is a matrix exercise
Congratulations. You have invented the
String
.Sorry, I left confusing description, I'll fix it
It was the hardest 8kyu to me ;)
Loading more items...