Is there a wrong testcase?


  • 0
    S

    The question says:

    Note:
    You may assume k is always valid, ie: 1 ≤ k ≤ input array's size for non-empty array.

    But I encountered such a Wrong Answer

    Input:
    []
    0
    Output:
    [0]
    Expected:
    []
    

Log in to reply
 

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