Visualizers
Algorithm Visualizer
Step-through animations for sorting and pathfinding algorithms.
Bubble Sort
Repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Selection Sort
Divides the input list into two parts: sorted sublist and unsorted sublist, repeatedly selecting the smallest element.
Insertion Sort
Builds the final sorted array one item at a time by inserting elements into their correct position.
Merge Sort
A divide-and-conquer algorithm that divides the array in half, recursively sorts them, and merges them.
Quick Sort
A divide-and-conquer algorithm that picks an element as pivot and partitions the array around it.
Heap Sort
A comparison-based sorting technique based on Binary Heap data structure.
Counting Sort
A non-comparison sorting algorithm that counts occurrences of each unique element.
Binary Search
Finds the position of a target value within a sorted array by repeatedly dividing the search interval in half.
Linear Search
Sequential search algorithm that checks every element of the list until a match is found.
Binary Search Tree (BST)
Interactive BST operations: insertion, deletion, and search with visualized path.
Tree Traversals
Visualizes Preorder, Inorder, and Postorder tree traversals on a binary search tree.
Fibonacci DP
Shows standard recursion vs memoized recursion and bottom-up tabulation DP array.
LCS (Longest Common Subsequence)
Finds the longest common subsequence of two strings by building a 2D matrix.
0/1 Knapsack
Maximizes total item value within knapsack weight capacity using a 2D DP matrix.
Coin Change
Finds the minimum number of coins needed to make a target amount using a 1D DP table.
Factorial Recursion
Visualizes call stack frames pushing and popping as factorial recursively computes.
N-Queens
Solves the N-Queens problem on an NxN chessboard using depth-first backtracking.
Algorithm & Complexity Visualizer Hub
Algorithms are the heart of software engineering. Understanding how they execute step-by-step is crucial for designing efficient, scalable systems. This hub compiles 21 fundamental computer science algorithms across categories like Sorting, Searching, Graph Pathfinding, Tree Operations, Dynamic Programming, and Backtracking.
Select any algorithm to launch a dedicated, fully interactive visualizer. Customize input arrays, weights, or dimensions; adjust playback speed; step through operations frame-by-frame; and observe time and space complexities in action.
Frequently Asked Questions
What categories of algorithms are supported?
CodoKit supports 6 core categories: sorting (e.g. Quick Sort, Merge Sort), searching (Linear/Binary search), graph pathfinding (BFS, DFS, Dijkstra, A*), tree operations (BST, Tree Traversals), dynamic programming (LCS, Knapsack, Coin Change), and backtracking (N-Queens).
Are all visualizer computations client-side?
Yes. Every simulation, maze generation, recursion tree, and table computation runs 100% inside your web browser. No data or inputs are sent to any external server.