Analysis of Algorithms Arrays 3 Array Length and Capacity Since the length of an array determines the maximum number of things that can be stored in the array, we will sometimes…