LeetCode
Contains Duplicate
Click
here
for an explanation.