Data Structures
Data Structures
• LINKED LIST
• TREE
• GRAPH
• STACK
• QUEUES
❖An array consists of a collection of elements (values or variables), each identified by at least one array
index or key
• A Node in a linked list holds the data value and the pointer which points to the location of the next
node in the linked list.
ADVANTAGES OF LINKED LISTS
• They are dynamic in nature which allocates the memory when required.
• Push Operation:?
• Pop Operation:
• Top Operation:
• Search Operation:
QUEUE