Multiple choice

Deleting an element of the list is done

  1. at the beginning of the list

  2. at the end of the list

  3. after a given element

  4. all of these

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

Linked list deletion operations can be performed at any position: at the beginning (updating the head pointer), at the end (traversing and updating the second-to-last node), or after a given element (locating and adjusting pointers). All three are valid and commonly used deletion scenarios.