Write a program to reverse a linked list?

Answer Posted / bragaadeesh

Program to reverse a singly list ITERATIVELY,

http://www.technicalypto.com/2010/01/java-program-to-reverse-singly-linked.html

Program to reverse a linked list RECURSIVELY

http://www.technicalypto.com/2010/03/reverse-singly-linked-list-recursively.html

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a called function determine the number of arguments that have been passed to it?

856


If dog is a friend of boy, is boy a friend of dog?

753


When to use “const” reference arguments in a function?

778


What is the basic structure of c++ program?

768


How a new element can be added or pushed in a stack?

764






Can you please explain the difference between overloading and overriding?

792


What are the 4 types of library?

821


Is c++ a high level language?

719


What is a local reference?

887


What is ios :: in in c++?

803


why and when we can declar member fuction as a private in the class?

1804


Who calls main function?

786


What is a modifier in c++?

824


What is the full form of dos?

751


Difference between strdup and strcpy?

851