Berkeley CS 61B: Data Structures
Adds `addFirst` and `getFirst` to `SLList`, demonstrating how a list wrapper simplifies adding and retrieving the first item compared with a naked recursive data structure.
Save to open this file
Save the space, and your chats show up here
Adds `addFirst` and `getFirst` to `SLList`, demonstrating how a list wrapper simplifies adding and retrieving the first item compared with a naked recursive data structure.
Save to open this file