Ad
  • Custom User Avatar

    JS: I have the same problem using an array, either have 501 length or fail the 500 user name. Any pointers?

  • Custom User Avatar

    Thanks for the feedback, it's similar to the kata you showed there but that one creates a matrix from a parameter and in this case the matrix is given and you need to show the "path" that needs to be traveled.

    The example is showing

    [1,2,3,6,9,8,7,4,5] =

    [
    [1, 2, 3],
    [4, 5, 6],
    [7, 8, 9]
    ]

    You start top left to the right, then go down, then left, then up and start again to the right.

  • Custom User Avatar

    Didn't see that one, the difference is that the input matrix is nxn for that kata, in this case it's nxm.