one test case is illegal


  • 1
    Z

    I found a test case like this:
    [1]
    2
    However, it is illegal, since k is a positive integer and is less than or equal to the length of the linked list. Please revise it if you think it's necessary.


Log in to reply
 

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