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.
I had the same solution but without the '+' and of course got a string returned. Had to google this unary plus and learned something really cool and valuable today thanks to you. Thanks!
we are tweens
i fid the same
Well done buddy!
At line 4: output[string[char]] = string[char]
It can be done in this way: output[char] = char; while in for loop use "of" keyword instead of "in"
Ranks can't be changed, the author doesn't decide the rank, and not a suggestion.
For each language:
Definitely not 4kyu in my opinion but ranking it as 5kyu would be more than fair.
By the way, this was one of the hardest 6kyu Katas I have ever solved. I had to constantly
console.log
different stages of my code to verify what was actually going on as I coded my algorithm.Great!thx!
Great explanation, thank you!
This comment is hidden because it contains spoiler information about the solution
This kata should definitely be at least a 5kyu or 4kyu. It was really annoying to solve.
It definitely needs more test cases to stump the user. At least a good 10-20 I think, to discourage copy & pasting the test case results to pass.