Agree with the above two.

I don't think you can free the entire list without traversing it.You
can free an element that you have a reference of.
How can you free an entire list with reference to just one element?
You'll need the other references. And if you
get the other references that means you are traversing the list
(indirectly, but you are).


On Jun 11, 12:53 am, Raj N <rajn...@gmail.com> wrote:
> Hi,
> I came across this statement that using circular lists, concatenation
> can be done without traversing either list. The same case with freeing
> the entire list.
> Can someone elaborate on this ?

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@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