need help with algorithm! please and thank you! :D

Give an algorithm for determining, just by link hopping, whether a doubly linked list with header and trailer
sentinels is empty (that is, do not make use of a size member variable).

* My approach to this question is first to create a linked list with templates and then use an array to do this "link hopping". Can someone help me explain how to do this? *
Than kyou!
didn't you already make a thread like this?
closed account (zwA4jE8b)
well if head->link -> tail and/or tail->link -> head then the list is empty
Topic archived. No new replies allowed.