Cloze

Hash setEasy

Contains Duplicate

Say whether any number appears more than once in nums.

Aim for O(n) time, O(n) spaceInspired by a classic interview problem ↗