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.
You'll see all solutions when you upload your own.
haha lol, its just that when seeing "There is no solution to show" pop up, I thought you had already given up on this kata.
Hi man. I did it already ) Let me know if you need a help with theory. Cheers.
two years late, but you and I had the exact same issue. there is a way to solve it though; think of how you would solve this on a square grid, and notice what the algorithm behind it actually does to each individual piece.
my first 1kyu kata solved! this was an amazing kata, spent damn near 2 weeks on this, but it was really worth it. thank you, jaybruce, for making this; that's 83 people very satisfied with this kata now :)
oh wait, I've figured it out!
the test cases sort a list of
PokerHand
classes, and you need to sort them based on the hand value.ah crap, I actually don't understand it too; I pass example test cases but the random test cases just say "failed at test n".
I'm confused, what?
This comment is hidden because it contains spoiler information about the solution
You can avoid a
copy
with a simple syntax making it quite similar to using a unique pointer in C (cf this kumite not to spoil others in comments)oh shit, my bad, I forgot to add it
how about adding the spoiler tag, djeezes
This comment is hidden because it contains spoiler information about the solution
I must say, that was quite a bit harder than i expected it to be. Really fun to solve though!
This comment is hidden because it contains spoiler information about the solution
It might be worth adding to the description a reference to "Difference of Squares".
Loading more items...