Multiple choice technology programming languages

Removing or inserting elements in the middle of an array can be done using

  1. Vector

  2. Hash table

  3. Linked list

  4. Enumeration

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

A linked list is highly efficient for inserting or removing elements in the middle of a collection because it only requires updating node pointers. Arrays and Vectors require shifting subsequent elements, and hashtables map key-value pairs rather than ordered positions.