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.
This comment is hidden because it contains spoiler information about the solution
you might be able to pinpoint where it crashes with the help of prints. make sure to flush after each print so that the text makes it out before the segfault happens.
you might also be able to run various diagnostic tools locally like valgrind asan or a debugger
you could also stare at your use of pointers some.
Can you help me if I post my code (with the spoiler tag)?
Your code is wrong, but we do not know how you can fix it.
I'm receiving an error that says "Test crashed.Caught unexpected signal: SIGSEGV (11). Invalid memory access".
Is my code wrong or is there something wrong with the test case?
if my code is wrong, how can i fix it?