Reversing a LinkedList
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   d_s
Posted On:   Tuesday, April 9, 2002 09:01 AM

How would I go about recursivly reversing a LinkedList with a sentinel?

Re: Reversing a LinkedList

Posted By:   Benoit_Quintin  
Posted On:   Tuesday, April 9, 2002 11:30 AM

I'm sorry but, what is a sentinel???

Anyways, call the get() starting from the highest index and go down till you hit 0...

About | Sitemap | Contact