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 problem with this one is it can return 0, which won't happen in game with 21 sticks, but making a move of 0 is bad in general.
Well, I learnt something here.
Were you able to figure it out? I changed the tests to use char** for their arguments and that worked all the way up to the "uncheatedly" test which it failed.
You need to modify the contents of existing arrays a and b inside the function, and not assign references to new arrays by these variables (parameters).