Ad
  • Custom User Avatar

    I had no idea, how to know the "Edges conditions" and that it was necessery check if input array is empty.
    Thank You!

  • Custom User Avatar

    Your solution has a bug and does not handle some inputs correctly. If you take a look at results of failed tets you will see that it fails "Edge cases" section. What edge cases did you test in console?

    Buggy solutions are not a kata issue.

  • Custom User Avatar

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