leetle

Daily challenge for 2025-04-21

111. Contains Duplicate

Write a function solve that determines if an array contains any duplicate elements.

Example:
Input: [1,2,3,1]
Output: true

Run this challenge interactively in Python or JavaScript when the app loads.