Question: C++ 1. Problem (Hard): a. Write a bool function containsDuplicates that accepts an integer array and the number of elements in the array b. Return
C++ 1. Problem (Hard): a. Write a bool function containsDuplicates that accepts an integer array and the number of elements in the array b. Return true if there are duplicates in the array; otherwise, returt false c. Show what a call to your function would look like
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
