reverse(head)
{
if(head==NUll)
{
printf("head->info");
return;
}
reverse(head->link)
printf("head->info);
}

On Wed, Sep 28, 2011 at 4:39 AM, anand karthik
<anandkarthik....@gmail.com>wrote:

> Reverse it , print it and reverse it again. :-)
>
> On Wed, Sep 28, 2011 at 3:28 AM, Ankur Garg <ankurga...@gmail.com> wrote:
> > Print Reverse of linked list (dont reverse it) with only constant space.
> >
> > Recursion uses stack spaceO(n) ..so post some other solution ..
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Algorithm Geeks" group.
> > To post to this group, send email to algogeeks@googlegroups.com.
> > To unsubscribe from this group, send email to
> > algogeeks+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/algogeeks?hl=en.
> >
>
>
>
> --
> Best,
> T Anand Karthik,
>
> Contact number: +91-9571552652
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to