Interactive simulators

See it run. Then run it yourself.

Step a scheduler, replace pages, build an automaton, trace a sort. Every simulator sits beside the lesson it teaches, and each one is built around the cases the exams actually ask.

205simulators
9subjects
5free with an account

Start with five, free

A free account opens these five simulators. The first one opens for everyone, no account needed.

All simulators, by subject

The rest come with the Gyanastra pass. They show the same way: pick one to see what it teaches.

Operating Systems

Data Structures

Pass

Array address calculation (1-D, 2-D, 3-D)

Open →
Pass

AVL tree rotations

Open →
Pass

B-tree: insert, delete, split, merge

Open →
Free account

Binary search tree

Open →
Pass

BST questions: valid search path, from traversal, same tree

Open →
Pass

C output tracer: pointers, structs, malloc, unions, macros

Open →
Pass

Deque and priority queue

Open →
Pass

Infix to postfix and prefix, evaluation, bracket matching

Open →
Pass

Graph representations, BFS, DFS and topological sort

Open →
Pass

Hashing questions: probes, expected cost, insertion orders, collisions

Open →
Pass

Hashing: chaining, linear, quadratic, double

Open →
Pass

Heap questions: count heaps, where a key can sit, insert vs build

Open →
Pass

Heaps: build, insert, delete, heap sort

Open →
Pass

Classic list problems

Open →
Pass

Singly, doubly and circular linked lists

Open →
Pass

Pointer arithmetic and 2-D array pointers

Open →
Pass

Circular queue and queue from two stacks

Open →
Pass

Recursion: call stack and recursion tree

Open →
Pass

Red-black tree: insert and delete with recolouring and rotations

Open →
Pass

Segment tree and Fenwick (binary indexed) tree

Open →
Pass

Skip list

Open →
Pass

Sparse matrix storage: triplets, CSR and CSC

Open →
Pass

Splay tree: zig, zig-zig, zig-zag

Open →
Pass

Stack in an array, and two stacks in one array

Open →
Pass

Stack permutations and Catalan numbers

Open →
Pass

Stack and queue questions: circular formulas, stack from queues, min stack

Open →
Pass

Struct and union memory layout

Open →
Pass

Threaded binary trees and expression trees

Open →
Pass

Tree heights and sizes, LCA, diameter

Open →
Pass

Build a tree from traversals, and count trees

Open →
Pass

Triangular and tridiagonal matrix storage

Open →
Pass

Trie (prefix tree)

Open →
Pass

Disjoint sets: union-find

Open →

Algorithms

Pass

Amortised analysis: counter, dynamic array, multipop

Open →
Pass

N-queens and KMP string matching

Open →
Pass

Bellman–Ford and negative cycles

Open →
Pass

Bridges, articulation points, bipartite, cycles, Euler

Open →
Pass

Coin change, longest increasing subsequence, rod cutting

Open →
Pass

Lower bound, min and max, second smallest

Open →
Pass

Convex hull and closest pair of points

Open →
Pass

Time and space analyser: run a loop or recursion and fit its growth

Open →
Pass

Dijkstra shortest paths

Open →
Pass

Inversions, k-th smallest and maximum subarray

Open →
Pass

DP and greedy extras: palindromes, optimal BST, grid paths, memoisation, merge pattern, Huffman decoding

Open →
Pass

Floyd–Warshall all-pairs shortest paths

Open →
Pass

Fractional knapsack, job sequencing, activity selection

Open →
Pass

Growth of functions and asymptotic notation

Open →
Pass

Huffman coding

Open →
Pass

k-way merge and external merge sort

Open →
Pass

0/1 knapsack and subset sum

Open →
Pass

LCS and edit distance

Open →
Pass

Master theorem for divide and conquer

Open →
Pass

Matrix chain multiplication

Open →
Pass

Maximum flow, minimum cut and bipartite matching

Open →
Pass

Spanning tree questions: count, unique, which edge

Open →
Pass

NP-completeness: 3-SAT, reduction to clique, independent set and vertex cover

Open →
Pass

Practice: GATE-style questions for Algorithms and Data Structures

Open →
Pass

Quick sort: partition trace, pivot rules and worst-case inputs

Open →
Pass

Recurrences beyond the master theorem

Open →
Pass

Strongly connected components and topological orders

Open →
Pass

Linear, binary, interpolation, jump and ternary search

Open →
Pass

Shortest path questions: extraction order and weight changes

Open →
Pass

Array after k passes of a sorting algorithm

Open →
Free account

Sorting: eleven algorithms with counters and stability

Open →
Pass

Minimum spanning tree: Kruskal and Prim

Open →
Pass

Strassen and Karatsuba fast multiplication

Open →
Pass

Travelling salesman with bitmask DP

Open →

Computer Organisation

Database Systems

Compiler Design

Theory of Computation

Digital Logic

Computer Networks