Berkeley CS 61B: Data Structures
Fixing `addLast` for empty singly linked lists by handling null first nodes and avoiding null-pointer errors.
Save to open this file
Save the space, and your chats show up here
Fixing `addLast` for empty singly linked lists by handling null first nodes and avoiding null-pointer errors.
Save to open this file