Contains Duplicate
Given an array of integers nums as input, implement a function containsDuplicate such that it returns true if nums contains a duplicate value and false otherwise. Input Constraints: Values in nums could range from $1$ to $10^5$ Output Constraints: Could be either true or false Naive Approach to Solution