Contains Duplicate
Problem Statement
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 105
Output Constraints: Could be either true or false
Naive Approach to