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.
Another missing spec: There are multiple tests where the path touches the top/bottom in multiple locations, and does not end at the corner. This case is never explained in the description.
This constraint is not specific enough. Will there be forks in the path, where some leads to a dead end? Will there be multiple possible paths?
That is just a notational difference.
That one has columns and rows reversed, just horrendous :(
Duplicate of https://www.codewars.com/kata/5326ef17b7320ee2e00001df
(The only difference I think is starting and ending point, BTW there are more such katas with various variations)
The input type should be
int[,]
."It works" doesn't mean that it's a good choice. The map is always rectangular, and 2d array is the right data structure to use here.
A Jagged array works for the kata without any issues.
Yes, it helps the user visual the directions. Using the down and right arrows as if playing with a controller.
Is there any reason for the output type to be
string
?The input type should be
int[,]
.No random tests.