F
free2cric
Hi,
how to detect head and tail in cyclic doubly link list ?
Thanks,
Cric
how to detect head and tail in cyclic doubly link list ?
Thanks,
Cric
Hi,
how to detect head and tail in cyclic doubly link list ?
Thanks,
Cric
Hi,
how to detect head and tail in cyclic doubly link list ?
Chris said:(a) this is not a C problem.
Agreed.
(b) if it's a cyclic (doubly-)linked list, surely it hasn't
/got/ a head and a tail?
Chris Dollin said:(b) if it's a cyclic (doubly-)linked list, surely it hasn't
/got/ a head and a tail?
Ben said:In my experience a circular linked list usually has some
distinguished node, if only because that's the node at which new
nodes are added to the list. (Usually it's just one node, not
two.)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.