This lesson contains approximately 35 minutes of video content.
Arrays
Limitations of arrays
Activity: Does an array contains duplicate values?
GradedPlaygroundAutograder
Activity Prompt:
In this problem, you will define ContainsDuplicate(int array[], unsigned int array_size). This function must return true if any integer value in array appears at least twice; false if every element in array is distinct. Please write your declaration for this function in solution.hpp and then define it in solution.cc.