Ad
  • Custom User Avatar

    Your solution returns incorrect answer for input: [1, 7] and [1, 8].

  • Default User Avatar

    When the CAPS key has been pressed, uppercase gets swapped with lowercase and vice versa.

    As for the error messages, they don't show the input, only what is expected and what they got from your solution.

    You can view the input by trying to print to the console.

    BTW, you should look through some other comments to see if anyone has had the same problem in the past.