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

Is the declaration of a class its interface or its implementation?

702


What is the latest version on c++?

679


What do you mean by volatile and mutable keywords used in c++?

577


Is c++ a good first language to learn?

572


What is function overloading in C++?

721






What are the types of container classes?

610


Can you overload the operator+ for short integers?

593


What is a dll entry point?

560


What are the differences between malloc() and calloc()?

611


Is c++ fully object oriented?

551


What is the full form of india?

563


What is a loop? What are different types of loops in c++?

591


Is ca high or low level language?

580


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

613


Can a program run without main in c++?

583