DrawCode Practice Problem

Contains Duplicate

Given an integer array `nums`, return `true` if any value appears at least twice.

Examples

Input

nums = [1,2,3,1]

Output

true

Input

nums = [1,2,3,4]

Output

false

Constraints


Interactive Visualizer Workspace

Explore step-by-step interactive animations, memory state tracking, and live multi-language execution in DrawCode.

Launch Interactive Visualizer