Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2022
Questions

Q5

MCQ1 mark, −0.33Data structures

Consider the problem of reversing a singly linked list. To take an example, given the linked list below,

Figure 1

the reversed linked list should look like

Figure 2

Which one of the following statements is TRUE\text{TRUE} about the time complexity of algorithms that solve the above problem in O(1)O(1) space?

Sign in to save attempts.

The solution is hidden while you attempt this question. It opens once you check or show the answer.