Introduces sentinel nodes in linked lists to eliminate empty-list special cases and simplify addFirst, getFirst, and addLast.
Save to open this file
Introduces sentinel nodes in linked lists to eliminate empty-list special cases and simplify addFirst, getFirst, and addLast.
Save to open this file