Algomination
Data Structures
AboutContact

Algomination

Learn algorithms and data structures through smooth, interactive visualizations.

SortingSearchingArray AlgorithmsData StructuresAboutContact

© 2026Algomination. Created by Omang Rawat & Rahul Soni.

Omang Rawat
Rahul Soni

Data Structure Visualizers

Interact with classic data structures. Run operations and watch the structure respond in real time.

Stack

A LIFO structure — push adds to the top, pop removes the top, peek inspects it. All O(1).

Time O(1)Space O(n)

Queue

A FIFO structure — enqueue adds to the rear, dequeue removes from the front, peek inspects it. All O(1).

Time O(1)Space O(n)

Linked List

A chain of nodes where each points to the next. Insert/delete at the ends in O(1); search is O(n).

Time O(n)Space O(n)

Doubly Linked List

Like a linked list, but each node also points to the previous one — enabling traversal in both directions.

Time O(n)Space O(n)

Binary Search Tree

An ordered tree where every left child is smaller and every right child larger. Insert, search, and delete in O(log n) on average, and traverse it breadth-first (level-order) or depth-first (pre-, in-, and post-order).

Time O(log n)Space O(n)

Hash Table

Maps keys to buckets with a hash function for O(1) average lookup. Collisions are handled by chaining entries within a bucket.

Time O(1)Space O(n)

Graph Traversal (BFS & DFS)

Explore a graph from a start node. Breadth-first search fans out level by level using a queue; depth-first search dives deep using a stack.

Time O(V + E)Space O(V)

Priority Queue (Heap)

A binary heap that always serves the highest-priority element first. Insert sifts up and extract sifts down in O(log n); peek is O(1). Switch between a min-heap and a max-heap.

Time O(log n)Space O(n)

Trie (Prefix Tree)

Stores strings character by character so words with shared prefixes share a path. Insert, search, and prefix-match all run in O(L) for a word of length L.

Time O(L)Space O(n)

AVL Tree (Self-Balancing BST)

A binary search tree that rotates after every insert and delete to keep itself balanced, guaranteeing O(log n) operations. Each node's balance factor stays within {-1, 0, 1}.

Time O(log n)Space O(n)

Union-Find (Disjoint Set)

Tracks a partition of elements into disjoint sets. Union merges two sets by rank and Find locates a set's root with path compression, giving near-constant amortized time.

Time O(α(n))Space O(n)