Linkedlist dummy node? | Sololearn: Learn to code for FREE!

0

Linkedlist dummy node?

In my project, I cannot use a dummy node, but I’m not exactly sure what that is. The head node is initialized to null. If I have a method where I have to traverse a linked list, is making a new node and setting it equal to head , a dummy node?

9/26/2019 4:11:22 PM

Jamie Charles

1 Answer

New Answer

+1

it is node without data, connected to head or tail