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

The reversed linked list should look like

Which one of the following statements is TRUE about the time complexity of algorithms that solve the above problem in \( O(1) \) space?
next pointer of each node so that it points to its previous node instead of the next one.
prev, curr, and next) regardless of the size of the list.
No additional data structures are required.
\[
O(1)
\]
The statements of pseudocode for searching the first element with key k in the linked list L are given below. Arrange them in the correct order.
(A) while (x != NIL and x.key != k)
(B) x = L.head
(C) x = x.next
(D) return x