Contains Duplicate — JavaScript easy interview problem
Given an integer array `nums`, return `true` if any value appears at least twice, otherwise `false`.
Tags: hashset
Practice this Arrays problem free in the JS Interview Playground with automated tests and unlockable solutions.