Ad
  • Custom User Avatar

    Expected and actual values are flipped.

  • Custom User Avatar

    What if there are multiple possible answers?

    Edit: Even the first test case has multiple possible answers, and yet there are no specifications on which one should be returned.

  • Custom User Avatar

    When I encountered this puzzle, I suspected the goal was to find a cycle in a linked-list. This problem involves graphs -- which is definitely more challenging.
    I think you should strongly consider adding "graph" either in the title, the description or both.