One concern regarding duplicates


  • 0
    F

    what if I have a case like [0, 0, 0, 0, 0]
    obviously, the results will just look the same [0, 0, 0]. But they could be coming from different indices. Are they considered as unique or just the same tuple? Any input? I was dealing with this while implementing the code.


Log in to reply
 

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