Contains Duplicate
Set membership versus sorting: time and space tradeoff.
Not attemptedLeetCodeEasy, unverified labelAccess: not determinedExtra, for review rotation
The exercise happens on LeetCode. Canonical link: https://leetcode.com/problems/contains-duplicate/. Link check: not checkable automatically (5 Oct 2026). Opened from this app 0 times; opening is not counted as an attempt.
Check note: Not requested individually: leetcode.com refused or challenged earlier automated requests (HTTP 403), so the check stopped contacting it. Open the link in a browser.
Record an attempt
Attempt history
No attempts recorded yet.