Confusion in a test case. Answer is a greater permutation than actually should be, or is there something missing to understand.


  • 0
    S

    Answer of test case. Shouldn't the answer of test case [7,1,49,52,2,34,56,7] be [7,1,49,52,2,34,7,56]. But the accepted solutions are giving answer [7,1,49,52,2,56,7,34]


Log in to reply
 

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