After reversing 1 -> 2 -> 3 -> 4, what is the new head?

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

Question

After reversing 1 -> 2 -> 3 -> 4, what is the new head?

Option A

1

Option B

2

Option C

3

Option D — Correct answer

4

Explanation

The new head is 4.

Reverse Linked List - Pointer reversal Pattern Practice Quiz

All questions · Previous question · Next question

Open on QuizMaker