Consider the two private methods described in the previous question.
a. The method isTooBig requires the size of array to be greater than 20. What problem could occur if this requirement is dropped?
b. The method reduceArray is not analogous to the method ensureCapacity in that it does not reduce the size of the array by one half. What problem could occur if the size of the array is reduced by half instead of three quarters?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.