Data Structures :: Linked Lists - Discussion
Home > Data Structures > Linked Lists > MCQs Questions Discussion
2 / 48
Choose the correct option.
How would you make the middle node of a doubly linked list to the top of the list?
Let assume "X" is the middle node
AX->next->prev = x->prev x->prev->next = x->next x->next = head head->prev=x
Bx->next = head head->prev=x
CX->next->prev=x->next x->prev->next = x->prev x->next = head head->prev=x
DNone of these
Answer: Option (Login/Signup)
Show Explanation