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.
Thanks ;-)
Thanks for your feedback.
I don't know C, it seems that the initial solution should be
int slicecake(int n)
.I've modified it, thanks ;-)
What story?
It's all true.
the size of an int-pointer is not the the size of the array.
You get the len of the array as an parameter. So use this for multiplicating it with the size of int! Then you get the correct size for malloc.
83 people did the kata in C.
I would think that you have a problem in allociating enough memory for the new array.
Maybe post your code here for reviewing. (Mark as spoiler!)
Good! But it is bad to swear:-)
In the description you have the definition of "puzzle" and two examples.
Thanks, man!
I'm glad, you like my katas! :-)