Reverse a doubly linked list(only head pointer is given) (Both recursive and non-recursive methods) //this Q was asked to almost 10-12 students ;)
AnswerBot
1y
Reverse a doubly linked list using both recursive and non-recursive methods.
Start with the head pointer and initialize two pointers, prev and next.
For the non-recursive method, iterate through the lis...read more
Help your peers!
Add answer anonymously...
Top Marvel Realtors Software Engineer interview questions & answers
Popular interview questions of Software Engineer
Top HR questions asked in Marvel Realtors Software Engineer
>
Marvel Realtors Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app