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.
Wow thank you a lot, adding '\0' character finally made my solution pass tests
second. because the straight starts with a waltz. And in the first with dozens
Anyone trying to solve using c++, add a terminating '\0' character at the end of char pointer which you will return from function.
Also the char pointers should now be replaced by string. I wasted so much time when my logic was ok, but using pointers wasted a lot of time.
Hey i am confused between two straight flush ("JS 9S TS KS QS", "JD AD TD KD QD").
What will be the result of this? Who will win first or second?
These knapsacks without memoization has more time complexity than just generating all the combinations