Complete the sentence to explain a limitation of arrays.
Arrays have a fixed [1], which means their size cannot be changed after creation.Arrays have a fixed length, so you cannot add more elements than the initial size.
Complete the sentence to describe a linked list advantage.
Linked lists allow [1] memory allocation, so they can grow or shrink during runtime.
Linked lists use dynamic memory allocation, which means they can change size as needed.
Fix the error in the sentence about array resizing.
Arrays cannot be easily [1] to add more elements without copying data.Arrays cannot be easily resized without copying data; this is a limitation that linked lists solve.
Fill both blanks to explain linked list flexibility.
In linked lists, each element points to the [1] element, allowing [2] insertion and deletion.
Each element points to the next element, which allows easy insertion and deletion anywhere in the list.
Fill all three blanks to describe linked list benefits over arrays.
Arrays have [1] size and require [2] copying to resize, but linked lists use [3] allocation to avoid this.
Arrays have fixed size and require data copying to resize, while linked lists use dynamic allocation to avoid this problem.