Multiple choice

Which of the following statements are true?

  1. Linked list has more storage over head than array, considering both are of same size.
  2. Linked list's size is fixed whereas array's size can be varied dynamically.
  3. The list elements cannot be inserted or removed from the linked list.

  1. Only 1 and 2

  2. Only 1

  3. Only 2 and 3

  4. Only 2

  5. 1, 2 and 3

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Statement 1 is true, whereas statement 2 is false as linked list size can be varied dynamically where as array size cannot. Statement 3 is also false as it is very easy to insert or remove elements from the linked list.