What are two possible problems with using an array-based bag implementation

What will be an ideal response?

any two of the following
e. Arrays have a fixed size
f. Hard to predict maximum number of items in the bag
g. If the array is made too large, computer memory is wasted
h. Increasing the size of a dynamically allocated array can waste storage and time

Computer Science & Information Technology

You might also like to view...

A(n) ____________________ is usually conducted to collect information from a witness or suspect about specific facts related to an investigation.

What will be an ideal response?

Computer Science & Information Technology

List three areas in which process models may differ from one another.

What will be an ideal response?

Computer Science & Information Technology