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.
Your code is not correct, it does not handle nested
call
correctly.I seem to be running into the same problem. Have you ever been able to solve it?
C# tests seem to be timing out on correct answer. Adding " " to output fails with only that as the error, but leaving it out times out every time.
If you switched the order of checking if x and y are within range and switched the check on x to maze[y].Length, this code would also work for mazes with uneven shapes.
The random test always times out unless the answer is incorrect. Tested it by swapping the last character from ")" to "(" and it is consistently only wrong on that character, but times out when fixed.