Choose a Data Structure to Inspect
Launch an interactive visualization with step-by-step memory pointer inspection.
Linked List
LinearDynamic linear node chain linked via forward pointers. Enables O(1) insertions and deletions at known positions.
Doubly Linked List
BidirectionalBidirectional linear structure with next and previous pointers enabling efficient forward and backward traversal.
Stack (LIFO)
LIFOLast-In, First-Out abstract structure. Push adds to top and pop removes from top with strict boundary validation.
Queue (FIFO)
FIFOFirst-In, First-Out sequential structure. Enqueue appends at rear while dequeue extracts from front.
Circular Queue
Ring BufferFixed-capacity ring buffer where front and rear pointers wrap modulo capacity, eliminating memory gaps.
Priority Queue
Heap-BackedBinary max/min heap serving elements by priority rank with logarithmic sift-up and sift-down rebalancing.
Binary Search Tree
HierarchicalHierarchical tree where every left child is smaller and right child is larger than the parent node.
B-Tree
Self-BalancingSelf-balancing multi-way search tree optimized for disk block reads and massive storage indices.
Graph (Matrix & List)
Non-LinearSet of vertices interconnected by directed or undirected weighted edges. Dual representation via matrix or adjacency lists.
Hash Table
AssociativeAssociative key-value map computing hash indices with dynamic separate-chaining collision handling.
Array
ContiguousContiguous sequential memory block with O(1) random index access and fixed element stride.
Red-Black Tree
Self-BalancingCLRS self-balancing binary search tree with node color bits, sentinel leaves, and O(log n) fixup rotations.
Trie (Prefix Tree)
Prefix TreeCharacter-based prefix tree where strings share common prefix branches, enabling O(L) autocomplete and search.
Segment Tree
Interval TreeHierarchical interval tree enabling O(log n) associative range queries (sum, min, max) and point updates.
Fenwick Tree (BIT)
Binary IndexedUltra-compact prefix sum and point update tree operating via Least Significant Bit (LSB) integer arithmetic.
Disjoint Set Union (DSU)
Union-FindEquivalence class partitioning structure with near-constant O(alpha(n)) find with path compression and union by rank.