Ad
  • Default User Avatar

    Actually there shouldn't be a test on [5,1,2,3,4].
    Your log indicates that you've probably modified the array passed as argument.
    The true argument is [1,2,3,4,5] then rotate it by -1 should result in [2,3,4,5,1].

    So i've modified the tests to (try to) avoid this kind of "issue".
    Can you try it again and tell me if it works ?

  • Default User Avatar

    Suggestion approved, test added.
    Thx for your contribution.

  • Custom User Avatar

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

  • Custom User Avatar

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