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.
Does your solution work correctly locally for input of
{{}}
?You can post your code here (see how: https://docs.codewars.com/training/troubleshooting#post-discourse) so someone could take a look.
Same thing. Based on shown tests, everything is fine locally. No exceptions are thrown.
getting the same error, anyone know how to fix it?
SEGV indicates that there is a segfault. If you are programming in C++, then I suggest to use std::runtime_error to gather information about your problem. Also note that the test case {{}} is initialized as {std::vector({})}.
Getting the same error although visual assist runs it just fine.