Given an integer array nums, return true if any value appears at least twice in the array, and false if every element is distinct.
Example
nums = [1, 2, 3, 1] => true
nums = [1, 2, 3, 4] => false
function ContainsDuplicate(nums: int[]) -> bool
Found a bug? Or annoyed about something in the language? Tell us.