Data Structures Question:

Download Job Interview Questions and Answers PDF

What does each entry in the Link List called?

Data Structures Interview Question
Data Structures Interview Question

Answer:

Each entry in a linked list is called a node. Think of a node as an entry that has three sub entries. One sub entry contains the data, which may be one attribute or many attributes. Another points to the previous node, and the last points to the next node. When you enter a new item on a linked list, you allocate the new node and then set the pointers to previous and next nodes.

Download Data Structures Interview Questions And Answers PDF

Previous QuestionNext Question
How is the front of the queue calculated in data structure?What is Linked List in data structure?