Commit aec7441
committed
updat remove function to handle when node points to other next node in the linked list - if so reposition pointers so curent node is removed. else if the current node is the tail make the previous node to it the "new" tail
1 parent 3139f6d commit aec7441
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| |||
0 commit comments