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.
parens: "(())((()((()))))" expected: true
Log
false
expected false to equal true
Why is "(())((()((()))))" true?
C#
SnailTest2Empty
Log
[[]] should be sorted to []
System.IndexOutOfRangeException : Index was outside the bounds of the array.
Stack Trace
at SnailSolution.Snail(Int32[][] array) at SnailTest.Test(Int32[][] array, Int32[] result) at SnailTest.SnailTest2Empty()
NOTE 2: The 0x0 (empty matrix) is represented as en empty array inside an array [[]].
I don't understand the return format at zero. If I return int [1][] or emty int[], I still don't pass the test.
solutions that do not pass the current tests - should be removed or marked as outdated. Maybe.