All tools / Algorithms
Free online algorithms tools
20 algorithms tools that run right in your browser. They're free, need no sign-up and work on any device.
Binary Search Tree VisualizerInsert, delete and find keys in a binary search tree or AVL tree, with animated traversals.Binary Search VisualizerStep through binary search next to linear search on a sorted array and count every comparison.Convex Hull VisualizerScatter points and watch gift wrapping, Graham scan or monotone chain wrap them in a hull.Conway's Game of LifeDraw cells or drop in gliders and guns, then run Conway's Game of Life at any speed.Elementary Cellular AutomataExplore all 256 Wolfram rules, like Rule 30 and Rule 110, as they grow line by line.Graph BFS & DFS VisualizerBuild a graph by clicking, drag its nodes around and watch breadth-first and depth-first search run.Hash Table VisualizerInsert keys into a hash table with chaining or open addressing and watch collisions and resizing.Heap & Priority Queue VisualizerPush and pop a binary heap and watch items sift up and down in both the tree and the array.K-Means ClusteringScatter points and watch k-means move its centroids and recolor clusters until it converges.Langton's AntWatch Langton's ant and multi-color turmites build chaos and highways from simple rules.Maze Generator & SolverGenerate mazes with backtracking, Prim's or Kruskal's algorithm, then watch them get solved.Minimum Spanning Tree VisualizerWatch Kruskal's and Prim's algorithms pick the cheapest edges that connect every node.N-Queens SolverWatch backtracking place N queens on a chessboard so that no two queens attack each other.Pathfinding VisualizerDraw walls and weights, then watch A*, Dijkstra, BFS and DFS search a grid for the shortest path.Sorting Algorithm RaceRace sorting algorithms side by side on the same shuffled data and see which one finishes first.Sorting Algorithm VisualizerWatch bubble, quick, merge, heap, radix and more sorts animate with sound, compares and swaps.Stack & Queue VisualizerPush, pop, enqueue and dequeue items and see how LIFO stacks and FIFO queues behave.Sudoku SolverType in a Sudoku or load one, then watch backtracking with constraint checks fill it in.Tower of HanoiPlay the Tower of Hanoi yourself or watch the recursive solution move up to 10 disks.Traveling Salesman SolverPlace cities and watch nearest neighbor, 2-opt and simulated annealing shorten the tour.