Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I also had the same issue when i modified the input array. The expected value for the test was the one for the modified array.

    input: [27, 47, 2, 87, 12], i modified the input by shifting the first element: [47, 2, 87, 12]

    got: ['+0', '+20', '-25', '+60', '-15']

    expected: ['+0', '-45', '+40', '-35']

    Is this the normal behaviour, or should the tests be modified to take this into account?