PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] Headless singly linked lists
Date: Wednesday, 18 Mar 2020, 17:48:36


    > Message Posted By: Unknown
    >
    > 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, ...

Yes, since that is how a headless list is represented.

--Stan-
PREV INDEX NEXT