PREV INDEX NEXT

Author: Unknown
Subject: Headless singly linked lists
Date: Wednesday, 18 Mar 2020, 12:37:00

I am slightly confused by the specification that our Deque structure can have a head but our linked lists must be headless. If I am implementing two structs using typedef, a deque struct and a node struct, can I have the elements in my deque struct be pointers to nodes directly, or must they be pointers to pointers to nodes (to create a separate pointer that's just a head of a linked list)?
PREV INDEX NEXT