Given an integer array nums, return true if any value appears at least twice in the array and false if every element is distinct.
Click Run to execute sample tests.