Given an integer array `nums`, return `true` if any value appears at least twice.
DrawCode Practice Problem
Contains Duplicate
Interactive Visualizer Workspace
Explore step-by-step interactive animations, memory state tracking, and live multi-language execution in DrawCode.
Launch Interactive Visualizer