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.
You can store 'ls' in new variable like..
const ts = ls;
Hi, I'd recommend you first identify which test is failing, then comment out the other tests and add
puts
statements at different points to help you to understand what is happening in that test scenario. Hopefully, you should then be able to see what the issue is.The error is very likely coming from:
maze[verticalPos][horizontalPos]
: you're attempting to accessmaze[x][3]
, wherex
is out of bounds.A problem with your code is not a kata issue. Hopefully this may help: Troubleshooting Your Solution.
This comment is hidden because it contains spoiler information about the solution