The Unified Computer Science Data Structures & Algorithms Laboratory
Max & Min heap complete binary trees with dual-representation array buffer, ShiftUp/Down mechanics, and Floyd's O(N) build.
Binary Search Trees and AVL self-balancing trees with automated single (LL, RR) and double (LR, RL) rotations and live balance factor analysis.
Dynamic pointer chains in heap memory. Visualizes head/tail insertions, node deletions, search traversals, and in-place pointer reversal.
Vertical LIFO cylinder and horizontal FIFO conveyor buffer with push, pop, enqueue, dequeue, peek, and overflow/underflow invariants.
Real-time vertical bar chart visualizer for Bubble, Selection, Insertion, Merge, and Quick Sort with color-coded comparison and swap counters.
Inspect hash function bucket mapping, collision resolution via Separate Chaining (linked buckets) vs Open Addressing (Linear Probing).
Breadth-First Search (queue-based level traversal) and Depth-First Search (stack/recursion branch traversal) on 2D network topologies.
Dijkstra's greedy shortest path with min-priority queue edge relaxation and Bellman-Ford negative edge handling.
Character-branching tree for dictionary words, prefix matching, and real-time autocompletion suggestions in O(L) time.
Union-Find forest with path compression and rank optimization. Demonstrates near O(1) amortized inverse Ackermann α(N) operations.
Greedy edge selection with Kruskal's algorithm, sorting weights, and using DSU cycle rejection to connect V nodes with V-1 minimal edges.
1D linear arrays, 2D row/column-major matrices, dynamic growth, insertion/deletion shifting, and O(log N) binary search visualization.
Strict 5-rule self-balancing BST with automatic node recoloring, uncle-checking invariants, and single/double rotations.
Divide-and-conquer range queries (Sum, Min, Max), leaf-to-root updates, and binary indexed tree (Fenwick lowbit) manipulations.
| Data Structure / Algorithm | Access | Search | Insertion | Deletion | Space Complexity |
|---|---|---|---|---|---|
| Array (Linear) | O(1) | O(N) | O(N) | O(N) | O(N) |
| Singly Linked List | O(N) | O(N) | O(1) Head | O(1) Head / O(N) Tail | O(N) |
| Doubly Linked List | O(N) | O(N) | O(1) Head/Tail | O(1) Head/Tail | O(N) |
| Stack (LIFO) | O(N) | O(N) | O(1) Push | O(1) Pop | O(N) |
| Queue (FIFO) | O(N) | O(N) | O(1) Enqueue | O(1) Dequeue | O(N) |
| Hash Table | - | O(1) avg / O(N) | O(1) avg / O(N) | O(1) avg / O(N) | O(N) |
| Binary Search Tree (BST) | O(log N) | O(log N) / O(N) | O(log N) / O(N) | O(log N) / O(N) | O(N) |
| AVL Tree (Balanced) | O(log N) | O(log N) | O(log N) | O(log N) | O(N) |
| Binary Heap (Min/Max) | O(1) Peek | O(N) | O(log N) | O(log N) Extract | O(N) |
| Trie (Prefix Tree) | O(L) | O(L) | O(L) | O(L) | O(N · L) |
| Disjoint Set (DSU) | - | α(N) Find | α(N) Union | - | O(N) |
| Quick Sort / Merge Sort | Sorting: O(N log N) average case execution | O(log N) / O(N) | |||
| Dijkstra Shortest Path | Single-source shortest path: O(E log V) | O(V) | |||