Test Case Doesn't Match Problem Description

  • 2

    The description states that "k is a positive integer and is less than or equal to the length of the linked list.", yet one of test cases has list [1] and k = 2.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.