Berkeley CS 61B: Data Structures
Introduces sentinel nodes in linked lists to eliminate empty-list special cases and simplify addFirst, getFirst, and addLast.
Save to open this file
Save the space, and your chats show up here
Introduces sentinel nodes in linked lists to eliminate empty-list special cases and simplify addFirst, getFirst, and addLast.
Save to open this file