Skip to content
Azhimathi Mayam logoDSA Study HubPCCST303 · KTU · S3

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.

Module 4

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 4

Searching lab

Linear and binary search with low / mid / high pointers and the eliminated half shaded.

Module 4

Hashing lab

Division, mid-square, folding and digit analysis; linear and quadratic probing, double hashing and chaining; insert, search and delete with tombstones.

Module 1

Stack, 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 1

Infix → 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 1

Polynomial 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 2

Linked 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 2

Memory 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 3

Trees, 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 3

Graphs

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.