Write a program to reverse a linked list. → how will you do it if you are allowed to use extra space?
AnswerBot
1y
Program to reverse a linked list using extra space.
Create a new empty linked list
Traverse the original linked list and push each node to the new linked list
Return the new linked list as the reversed l...read more
Help your peers!
Add answer anonymously...
Top NetApp Software Developer interview questions & answers
Popular interview questions of Software Developer
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