Computer Science, asked by ChintuPriyanka, 11 months ago

what is double linked list?

Answers

Answered by manishkr620520
1
In computer science, a doubly linked list is a linked data structure that consists of a set of sequentially linked records called nodes. ... The beginning and ending nodes' previous and next links, respectively, point to some kind of terminator, typically a sentinel node or null, to facilitate traversal of the list. 
Answered by abhijitgupta2
1
In computer science, a doubly linked list is a linked data structure that consists of a set of sequentially linked records called nodes. Each node contains three fields, called two link fields, that are references to the previous and to the next node in the sequence of nodes and one data field in between the link fields. The beginning and ending nodes' previous and next links, respectively, point to some kind of terminator, typically a sentinel node or null, to facilitate traversal of the list. If there is only one sentinel node, then the list is circularly linked via the sentinel node. It can be conceptualized as two singly linked listsformed from the same data items, but in opposite sequential orders.



A doubly linked list whose nodes contain three fields: an integer value, the link to the next node, and the link to the previous node.

The two node links allow traversal of the list in either direction. While adding or removing a node in a doubly linked list requires changing more links than the same operations on a singly linked list, the operations are simpler and potentially more efficient (for nodes other than first nodes) because there is no need to keep track of the previous node during traversal or no need to traverse the list to find the previous node, so that its link can be modified.

The concept is also the basis for the mnemonic link system memorizationtechnique.[dubious – discuss] The mnemonic systems are examples of bijections, not linked lists.


MARK AS BRAINLIST ANS.......Plzz bro..

manishkr620520: ok
Similar questions