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.
It should be failling because the comparation of null values with true
Dont know but in my opinion is needed to create a multidimentional array of (21 * 21)
and to place the person in the center of this matrix [11][11].
After place the person in the position it will be neede to create a mechanism that
executes the displacement of the person in the array taking in account the next steps:
at the end of the execution if the person is on the [11][11] array position, it
will be compliant with the expected behavior.
I checked the tests, and that praticular test is definitey expecting your function to return false.
maybe you're not returning properly or reading the logs wrong.
[ 'n', 'w', 'n', 'w', 'n', 'w', 'n', 'w', 'n', 'w' ] does not like false. Please explain why I am getting value not expected when I return false.
There is no such test. All test cases that don't take you back to the start expect
false
.There is a submission test case that does not take you back to start however will not accept false. I cannot find any edge cases in the Details section. Please explain where a walk that never returns from n and w directions should be true.
Is this wanting to us build a graph where you know the initial position, in order to validate if
is a valid walkthrought, did you miss something in the enunciate?.