GP - Introduction To Data Structures
GP - Introduction To Data Structures
1
a) Array: A linear collection of elements with indexed access for efficient
retrieval.
cc: Javatpoint
b) Linked List: Elements connected by pointers, allowing dynamic allocation
and efficient insertions/deletions.
cc: Wikipedia
c) Stack: Follows the Last-In-First-Out (LIFO) principle with top-based
element manipulation.
cc: Wikipedia
d) Queue: Adheres to the First-In-First-Out (FIFO) concept, used for ordered
processing.
2
cc: Wikipedia
e) Deque: Supports insertion and removal at both ends, offering enhanced
flexibility.
cc: java2novice
3
4) Traversal: Iterating through elements sequentially.
5) Search: Finding the position or existence of an element.
6) Update: Modifying the value of an element.
7) Sorting: Arranging elements in a specified order.
8) Merging: Combining two ordered linear structures.
9) Memory Management: Allocating and deallocating memory dynamically.