Wrong Answer


  • 0
    F

    When I run the test:

    [3,1,4,null,2]
    3

    My program returns the answer [1,2,4].
    When I submit it, I get a Wrong Answer and the Expected Answer [4,1,null,null,2].

    Should not both answers be accepted?


Log in to reply
 

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