+ 2
What's a node? Elaborate please.
I want to know what is a node like in linked lists. Actually, I'm going to learn about some more data structures. And before doing that I want to clear this basic term which seems to be common in many or perhaps in every data structure. A Python code will give me a better understanding.
2 Respuestas
+ 1
Consider a node as a structure, like a box which is divided into two or three parts. Let us consider a singly linked list which has two parts. One part can store a value and the other is a pointer. So the pointer can be used to point to another node of the same structure. In this way many nodes are connected together.
+ 1
Avinesh Thank you