Previous | Next --- Slide 14 of 39
Back to Lecture Thumbnails
hanzhoul

So, when one thread is going to do hand-over-hand, it needs to acquire 2 nodes(head & head.next) at once, right?

llcoolj

yes, because it needs the prior one to show what points to the next