Skip to content
DataXForge data tools platform
Tools
Categories
Toolkits
Guides
Blog
Notebook
About
Search tools
Cmd
K
Open tools
More on DataXForge
Toolkits
Guides
Templates
Blog
About
Contact
Search tools
Dark mode
Browse all tools
Home
Tools
Categories
Notebook
More
Back to categories
Algorithms
Animated data-structure and algorithm visualizers — sorting, pathfinding, trees, and more, step by step.
65 ready tools out of 65 listed in this workflow.
Visualizers
5
Sorting Algorithm Visualizer
Ready
Watch bubble, selection, insertion, merge, quick, and heap sort run step by step — animated bars, comparison and write counters, plain-English narration, and complexity cards.
Pathfinding Visualizer
Ready
Draw walls and weights on a grid, then watch BFS, DFS, Dijkstra, A*, and Greedy Best-First explore and find the shortest path — with step narration and visit-count comparisons.
Binary Search Tree Visualizer
Ready
Insert, delete, search, and traverse a BST, AVL tree (animated rotations with balance factors), or min-heap — every comparison narrated, every pointer move animated.
Data Structure Playground
Ready
Hands-on stack, queue, linked list, and hash table — every push, pop, pointer rewire, and collision narrated with its O(1)/O(n) cost, plus an interactive Big-O growth explorer.
Algorithm Academy
Ready
35+ classic algorithms animated step by step — searching, counting/radix/bucket sort, dynamic programming tables, greedy, backtracking, KMP, graph algorithms, max flow, and convex hull — with auto-play, next/prev stepping, adjustable interval, and pseudocode that highlights the running line.
Searching
2
Linear Search Visualizer
Ready
Watch linear search check each element one by one with a colored TRUE/FALSE verdict per probe, live pseudocode, and step-by-step narration.
Binary Search Visualizer
Ready
Watch binary search halve a sorted window each probe — lo/hi/mid pointers, TRUE/FALSE verdicts, live pseudocode, and your own numbers.
Sorting
7
Bubble Sort Visualizer
Ready
Bubble sort animated with bars that lift and slide past each other on every swap, colored comparison verdicts, and running pseudocode.
Selection Sort Visualizer
Ready
Selection sort animated: scan for the minimum with i/min pointers, slide it into place, and watch the sorted region grow — with counters and pseudocode.
Insertion Sort Visualizer
Ready
Insertion sort animated: watch the key lift out, larger values shift right, and the sorted prefix grow — with j/key pointers and live pseudocode.
Merge Sort Visualizer
Ready
Merge sort animated: runs split, then merge back as the smaller head wins each comparison — with lo/mid/hi pointers, counters, and pseudocode.
Quick Sort Visualizer
Ready
Quick sort animated: pivot highlighted, smaller values swapped into the left zone, pivot placed between — with i/p pointers, verdicts, and pseudocode.
Heap Sort Visualizer
Ready
Heap sort animated: build the max-heap, swap the root to the end, sift down — every comparison colored TRUE/FALSE with live pseudocode.
Counting Sort Visualizer
Ready
Counting sort animated: build the count array, then emit values in order with zero comparisons — buckets shown live with narration.
Graph
11
BFS Visualizer
Ready
Breadth-first search on a graph: the queue-driven frontier expands ring by ring with every discovery narrated — plus a grid version with walls.
DFS Visualizer
Ready
Depth-first search on a graph: the stack dives deep and backtracks, building a DFS tree — every push, pop, and visit narrated step by step.
Dijkstra's Algorithm Visualizer
Ready
Dijkstra's shortest path animated: settle the closest node, relax its edges, watch distances improve — with a live distance table and pseudocode.
Bellman-Ford Visualizer
Ready
Bellman-Ford animated: relax every edge V−1 rounds, watch distances converge, and see why a further improvement would prove a negative cycle.
Floyd-Warshall Visualizer
Ready
Floyd-Warshall animated: the all-pairs distance matrix updates as each node is allowed as a stopover — every improving triple shown in the table.
Prim's Algorithm Visualizer
Ready
Prim's minimum spanning tree animated: the tree grows by always taking the cheapest crossing edge — cut property in action with live narration.
Kruskal's Algorithm Visualizer
Ready
Kruskal's MST animated: edges taken cheapest-first unless Union-Find detects a cycle — accepted edges green, rejected cycles red.
Topological Sort Visualizer
Ready
Kahn's topological sort animated on a task DAG: in-degrees tick down, zero-degree tasks emit in order, and leftover nodes reveal a cycle.
Union-Find (DSU) Visualizer
Ready
Disjoint Set Union animated: union by rank merges trees, find compresses paths — parent and rank arrays shown live with every operation narrated.
Strongly Connected Components Visualizer
Ready
Kosaraju's two DFS passes animated on a directed graph — finish order, reversed edges, and each component painted its own color.
Articulation Points & Bridges Visualizer
Ready
Tarjan's low-link DFS animated: discovery times, low values, and every cut vertex and bridge — your graph's single points of failure — highlighted.
Network Flow
2
Ford-Fulkerson Max Flow Visualizer
Ready
Max flow animated: BFS finds augmenting paths, the bottleneck is pushed through, saturated edges turn red — ending at the min cut that equals the max flow.
Bipartite Matching Visualizer
Ready
Maximum matching by augmenting paths animated — free partners taken directly, occupied ones displaced along chains, one extra match per augmentation.
Greedy
4
Activity Selection Visualizer
Ready
The classic greedy scheduling problem animated: sort by finish time, sweep, and select every compatible activity — with the exchange-argument intuition.
Huffman Coding Visualizer
Ready
Huffman coding animated on your own text: merge the two rarest symbols until one tree remains, read off the prefix codes, and see the compression ratio.
Fractional Knapsack Visualizer
Ready
Greedy by value density animated: take the densest items whole, split the last one — and see exactly why splitting is what makes greedy optimal here.
Job Sequencing Visualizer
Ready
Greedy job scheduling with deadlines animated: richest jobs first, each placed in the latest free slot before its deadline — rejections explained.
Dynamic Programming
8
0/1 Knapsack Visualizer
Ready
The 0/1 knapsack DP table animated cell by cell: skip-or-take decisions with the exact cells each value reads from, ending at the optimal bottom-right answer.
LCS Visualizer
Ready
Longest Common Subsequence DP table animated: diagonal extensions on matches, max-of-neighbors otherwise, then the traceback that spells out the LCS.
Matrix Chain Multiplication Visualizer
Ready
Interval DP animated: every split point k tried for every chain window, the cost table fills diagonal by diagonal, and the optimal parenthesization emerges.
Coin Change Visualizer
Ready
Fewest-coins DP animated — including the classic case where greedy fails (coins 1, 4, 5 for amount 8) and the table finds 4+4 instead.
Longest Palindromic Subsequence Visualizer
Ready
Interval DP animated on your own string: matching ends wrap the inner palindrome (+2), otherwise drop an end — the table fills window by window.
Rod Cutting Visualizer
Ready
The classic revenue-maximization DP animated: every first-cut choice tried, best[L] built bottom-up, and the optimal cut list reconstructed.
Subset Sum & Partition Visualizer
Ready
Boolean DP animated: each number extends every reachable sum, answering subset-sum and equal-partition in pseudo-polynomial time.
Optimal BST Visualizer
Ready
Interval DP over search frequencies: every root tried per key range, expected lookup cost minimized — and the best root isn't always the hottest key.
Backtracking
5
N-Queens Visualizer
Ready
Backtracking animated on a chessboard: queens placed row by row, attacked squares pruned, and dead ends visibly undone until a solution appears.
Graph Coloring Visualizer
Ready
Backtracking graph coloring animated: nodes take real colors, clashes flash red, dead ends backtrack — exam scheduling and map coloring made visible.
Sudoku Solver Visualizer
Ready
Backtracking on a real 9×9 puzzle: digits tried, constraints checked, dead ends erased before your eyes until the grid completes.
Knight's Tour Visualizer
Ready
Watch a knight number every square exactly once — Warnsdorff's fewest-onward-moves rule turns an exponential backtracking search nearly instant.
Hamiltonian Cycle Visualizer
Ready
Backtracking search for a cycle through every node exactly once — extensions, dead ends, and the NP-complete reality animated on a real graph.
String Matching
4
Rabin-Karp Visualizer
Ready
Rolling-hash pattern matching animated: window hashes compared in O(1) per slide, with genuine matches verified and spurious collisions exposed.
KMP Algorithm Visualizer
Ready
Knuth-Morris-Pratt animated: the failure table is built first, then mismatches slide the pattern instead of restarting — the text pointer never moves back.
Boyer-Moore Visualizer
Ready
Right-to-left matching with the bad-character rule animated — watch mismatches teach the pattern how far to jump, skipping text wholesale.
Z Algorithm Visualizer
Ready
The z-array built in linear time — Z-boxes recycle earlier comparisons, and pattern$text turns prefix lengths into exact matches.
Foundations
2
Master Theorem Visualizer
Ready
Recurrences unrolled into recursion trees level by level — sum each level, compare log_b(a) with d, and read off the master-theorem case for merge sort, binary search, Strassen, and Karatsuba.
Best / Average / Worst Case Visualizer
Ready
The same algorithm run on three input shapes — see Ω(1), Θ(n), and O(n) emerge from identical code, with the comparisons counted live.
Divide & Conquer
1
Strassen Multiplication Visualizer
Ready
Watch seven block products replace the naive eight — the M1…M7 formulas, the recombination, and the recurrence that lands at Θ(n^2.807).
Geometry
4
Closest Pair of Points Visualizer
Ready
Divide-and-conquer closest pair animated: split by x, best of both halves, then the δ-strip where each point checks at most 7 neighbors.
Jarvis March Visualizer
Ready
Gift wrapping animated: from the leftmost point, sweep to the most counter-clockwise neighbor until the hull closes — O(n·h) made visible.
Segment Intersection Visualizer
Ready
Do two segments cross? Four CCW orientation tests answer it with no division — every pair tested and verdicts colored on the canvas.
Convex Hull Visualizer
Ready
Monotone-chain convex hull animated: points sorted by x, lower and upper chains built with pops on every clockwise turn.
Branch & Bound
2
TSP Branch & Bound Visualizer
Ready
Exact travelling-salesman solving animated: partial tours extend depth-first while the bound prunes any branch that can't beat the best tour found.
Knapsack Branch & Bound Visualizer
Ready
0/1 knapsack solved exactly with a fractional-relaxation bound — watch whole subtrees die the moment their optimistic bound can't beat the best.
Tree Structures
3
Trie Visualizer
Ready
A prefix tree growing word by word — shared prefixes stored once, word-ends marked, and every insert costing only the word's length.
Segment Tree Visualizer
Ready
Build, range-query, and update animated on a real tree — ranges tile into O(log n) blocks and updates touch only the root path.
Fenwick Tree (BIT) Visualizer
Ready
The trailing-bit trick animated: i & −i jumps for updates and prefix sums, each covering a doubling block — ten lines of code, O(log n) everything.
Randomized
2
Randomized Quicksort Visualizer
Ready
Quicksort with uniformly random pivots — the adversarial O(n²) input disappears, and expected O(n log n) holds for every input. Las Vegas in action.
Quickselect Visualizer
Ready
Find the k-th smallest without sorting: one partition, recurse into a single side, discard the rest — expected linear time animated.
Approximation
2
Vertex Cover Approximation Visualizer
Ready
The classic 2-approximation animated: take both endpoints of uncovered edges and get a provable ≤2×OPT guarantee for an NP-hard problem.
Bin Packing Visualizer
Ready
First-Fit Decreasing animated: items sorted large-to-small drop into the first bin that fits — with the famous 11/9·OPT+1 guarantee explained.
NP-Completeness
1
SAT & P vs NP Visualizer
Ready
Brute-force SAT over a truth table — verification instant, search exponential — with the Cook-Levin story of why SAT anchors all of NP.