Presentation on theme: "WELCOME TO Linked List, Stack & Queue By Sumit Kumar PGT(CS) KV, Samba."— Presentation transcript:
WELCOME TO Linked List, Stack & Queue By Sumit Kumar PGT(CS) KV, Samba
Linked-List A link-list is a linear collection of data elements, called nodes pointing to the next nodes by means of pointers. A stack is a linear structure implemented in LIFO manner where insertions and deletions are restricted to occur only at one end – stack’s top. The stack is also a dynamic data structure as it can grow or shrink. A Queue is also a linear dynamic structure implemented in FIFO manner where insertions can occur at the “rear” end, and deletions occur only at “front” end.
Important Point about Link list Linked list overcome the drawbacks of arrays as in linked list number of elements need not be predetermined, more memory can be allocated or released during the processing as and when required. Making insertions and deletions much easier and simpler.
Your consent to our cookies if you continue to use this website.