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.
Still you need to null-terminate your C-strings when writing to a preallocated buffer.
Not a kata issue.
I've now corrected the code and it works with the Sample Tests. When I submit it though, one of the fixedTests don't work, even though is exactly the same as one of the Sample Tests. The error I get is: "Caught unexpected signal: SIGSEGV (11). Invalid memory access." (I'm using C, the test is the "abigailtheta" example; all the randomTests pass; the string is null-terminating).
Oh ok, sorry.
Your answers are invalid; they are not composed of consecutive elements of the input array as per the instructions.
I don't get some of the kata test results. For example, this one:
The solution asks for the "first" strings occurring, so why "vvnnyoocffcx" is taken first instead of "wkmkkddqqvvx".
Or in another test:
Isn't the expected solution wrong? What am I missing?
This comment is hidden because it contains spoiler information about the solution