Linkedlist dummy node? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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?

26th Sep 2019, 4:11 PM
Jamie Charles
1 Respuesta
+ 1
it is node without data, connected to head or tail
26th Sep 2019, 8:39 PM
zemiak