Multiple choice

Which of the following fields are used in reversing a list?

  1. Previous

  2. Current

  3. Next

  4. All of these

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

When reversing a linked list, you need to track three key pointers: previous (to link back), current (the node being processed), and next (to save the reference before breaking it). All three are essential for the reversal algorithm to work correctly.