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.
Thank you
still why do the methods have to be private
Think of how you would do this (without a computer) and then code it
congratulations on solving, especially if you had no prior experience with reflection :-)
The Java translation was published a few hours ago, this is why there was only 1 solution
Today I learned what reflection is and how to count in binary. Also there are now 2(!) solutions in Java for this kata instead of 1.
Ok, thank you. Will look into it.
there IS a reasonable way ;-)
it's hard to answer without spoiling the kata, but you should carefully look at how the
invoke()
method is documented, and how varargs work in JavaThis comment is hidden because it contains spoiler information about the solution
I wouldn't flag a misspelling like that as an issue, or create one per typo, but anyways, fixed.
"leters" --> letters
"allways" should be always
Good beginner 8 kyu kata. I've managed to solve it without loops and multiplications. Also I've broken codewars syntax highlighting in my solution somehow???
Instructions could've been clearer. As always.
Anyways, this kata is too old. I don't know how I got here.
It is fun only after you understand what this Kata wants from you. I even wrote some kind of "AI" (with VERY VERY BIG quotes).
The description is horrible. It makes no sense at all. You could leave just the kata's name and info on where to get the
Functions
array and it wouldn't actually make any difference to the one's understanding of this kata.The best thing you can do is to read the tests and understand what they want from you. That's how I cracked it.
Be warned that there might be some false positives when your action and kata's action both return the same result but aren't actually the same action. How do you combat this? It's up to you, this is intended.
Loading more items...