Arrays Flashcards
1
Q
What are two disadvantages of arrays?
A
- Adding an element to the beginning or middle of array has great operational cost since all element after index i must be shifted one position to the right.
- Arrays have fixed size.