[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

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

Asked In :: BOA (Bank of America) Capgemini

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here