Algorithm visualizers
Each lab runs the real algorithm on your input and records every comparison, swap, probe and pointer move as a typed trace. The animation, the pseudocode highlight and the explanation are all generated from that trace — nothing is pre-drawn.
Sorting lab
Selection, insertion, quick (first/last pivot), merge, heap and radix sort — plus bubble sort as enrichment. Bars, pointers, recursion stack, merge buffer, heap tree, radix buckets.
Module 4Searching lab
Linear and binary search with low / mid / high pointers and the eliminated half shaded.
Module 4Hashing lab
Division, mid-square, folding and digit analysis; linear and quadratic probing, double hashing and chaining; insert, search and delete with tombstones.
Module 1Stack, queue, circular queue and deque
Array implementations with top / front / rear pointers, overflow and underflow, wrap-around shown on a ring and as the real array. One-click operations.
Module 1Infix → postfix and postfix evaluation
Operator stack and output, token by token, with the exam-style Symbol | Stack | Postfix table; then evaluate with variable values and integer or real division.
Module 1Polynomial addition and sparse transpose
Term arrays merged by exponent; sparse matrices as triples with simple O(cols·t) and fast O(cols + t) transpose, including the rowTerms / startPos arrays.
Module 2Linked list lab
Singly, doubly and circular lists, linked stack and queue. Box-and-arrow nodes, every pointer change highlighted, temporary pointers labelled, malloc and free shown.
Module 2Memory allocation
First, best and worst fit on a memory map, with split or fixed partitions, free and coalesce, compaction, and the exam's comparison table.
Module 3Trees, BST and heap
BST insert, delete (inorder successor), search and all four traversals; max- and min-heap build, insert and delete as a tree and an array; expression trees built from infix.
Module 3Graphs
BFS with its queue, DFS with its recursion stack (neighbours in ascending order), and Dijkstra with a distance table and shortest-path tree. Type any edge list.