What? a set contains duplicate number

  • 0

    When I first saw this question, I was like: what the ... a set contains a duplicate number? Then on my second read, I realized the author really meant an array contains a duplicate number.

    Why not change the set to array in the question?

Log in to reply

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