Академический Документы
Профессиональный Документы
Культура Документы
APPLICATION OF DS:
*Operating Systems.
Compiler design.
Experts Systems
Network analysis.
A Linked List is Dynamic data structures the data are stored in memory location by
pointer is called Linked List
A Linked list is a structure that leads to algorithm that minimize data movement are
insertions and deletions Occur in an ordered list (element).
• Data (element)
Structure of a node:
Data Field
Data field:
Address field:
Address field contains the address of the next node; It is otherwise called pointer
(or) Linked field.
Advantages:
• Insertion and deletion are done easily in the linked list.
• Linked list are implement in most Common language like C, C++ , Java.
It is the Combination of nodes, each node have a data in data field and address of
the next node in address field or null value if it is final node.
Header
10 20 30 40
A Doubly linked list is a linked list in which each node has three fields namely data
field, forward link (F LINK) and Backward Link (B LINK). F LINK points to the
successor node in the list where as B LINK points to the predecessor node.
Advantage:
Disadvantage:
In circular linked list the pointer of the last node points to the first node. So that
the next field in the last node contains a pointer back to the first node rather than
the null pointer.
A Singly linked circular list is a linked list in which the list node of the list points to
the first node.
A doubly linked circular list is a doubly linked list in which the forward link of the
last node points to the first node and backward link of the first node points to the
last node of the list
• Circularly doubly linked list allow to traverse the list in either direction
• Identifying the first/last node is important. This can be done by done using
header.
• Sorting
• Tree traversals
• Multi list