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.
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".
Which solution should be used as reference solution (which is fastest)?
ah ok so this is the sequel...
i'll give it a try :)
Oops lol
Thanks
Search for existing challenges is not easy, and currently the easiest way is to use the swarm memory and ask on
#kata-ideas
channel of Codewars Discord.I don't want to be that guy, but...
"represetations" -> "representations"
Loading more items...