I was reading through the code in the Crashing the Coding Interview book and when they delete a node in page 93, this is a snippet of the code they use:
Node dele