Ad
  • Custom User Avatar

    In this kata, you don't need to use up all directions. In the third test case, you can get to the finish point by ("N","N","N","N","N","E","E","E","E","E") moves. Then the expected answer is "Finish".

  • Custom User Avatar

    the test case is wrong, I tried by my hand and found it wrong

  • Custom User Avatar

    In [1, 2, 3, 4] should equal None the first value isn't the input, it's the value your function returned, print the input yourself to see what it is.

  • Custom User Avatar

    Maybe you have failed to verify the input array? Check that all the values are of type int and in [0, 9].

  • Custom User Avatar

    There are no fixed tests with those input values in Python, are you sure you're reading the logs ok? The log appears above the test result, not below it.