Closed rajeeves closed 10 years ago
Now the root pointer is actually set to the new head node. Previously there was an annoying bug that meant the LinkedList never actually had any nodes added on with unshift().
root
LinkedList
unshift()
Thanks!
Now the
root
pointer is actually set to the new head node. Previously there was an annoying bug that meant theLinkedList
never actually had any nodes added on withunshift()
.