What must be saved before changing curr.next?

Practice this question from Reverse Linked List - Pointer reversal Pattern Practice Quiz, with options and an explanation.

Question

What must be saved before changing curr.next?

Option A — Correct answer

The next node

Option B

The head value only

Option C

The list length

Option D

The final answer array

Explanation

The next node must be saved so the remaining list is not lost.

Reverse Linked List - Pointer reversal Pattern Practice Quiz

All questions · Previous question · Next question

Open on QuizMaker