Implementing a containsDuplicate function that returns true if there are duplicate elements present in the array and false otherwise...