Indeed interview question

Question involving nodes and pointers.