Title: Introduction to Data Structures
Data structures are ways of organizing and storing data so that operations like
search, insertion, and deletion can be performed efficiently. Common data
structures include arrays, linked lists, stacks, queues, trees, and graphs.
1. Arrays: A fixed-size sequential collection of elements of the same type.
2. Linked List: A linear data structure where elements are stored in nodes that
point to the next.
3. Stack: A LIFO (Last In, First Out) structure supporting push/pop operations.
4. Queue: A FIFO (First In, First Out) structure with enqueue/dequeue operations.
5. Trees: Hierarchical structures with nodes and children (e.g., Binary Trees,
BSTs).
6. Graphs: Collections of nodes connected by edges, useful in modeling networks.
Each structure has advantages and trade-offs in time/space complexity.