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

What gives the current position of the put pointer?

553


Why do we use double in c++?

592


What is the difference between the indirection operator and the address of oper-ator?

604


What is a literal in c++?

561


What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero

637






Which field is used in c++?

631


Why c++ is not a pure oop language?

551


List the advantages of inheritance.

638


How to declaring variables in c++?

653


Is map sorted c++?

509


How do pointers work?

701


What is size of string in c++?

548


How compile and run c++ program in turbo c++?

625


Can we change the basic meaning of an operator in c++?

649


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

609