CS Labs & Coding

Simulators, visualizers and practice.

Ready now.

CS Labs & CodingTOP PICKDSA Sheet TrackerTOP PICK

Track the full Love Babbar 450, Blind 75 and NeetCode 150 sheets, or paste your own. Daily goal, streak, revision queue and progress export. Saved in your browser.

CS Labs & CodingTOP PICKSorting VisualizerTOP PICK

Watch 10 sorting algorithms animate step by step with live counters and pseudocode, or race them on the same input.

CS Labs & CodingTOP PICKGit Visual SimulatorTOP PICK

Type real git commands and watch the commit graph change, with a plain-English reason for every command. 12 guided challenges.

SQL Practice Lab

Run SELECT queries on sample tables right in the page, see how the database reads each clause, and solve 13 exercises. No database needed.

OPEN →
Graph Algorithm Visualizer

Draw your own graph and watch BFS, DFS, Dijkstra, Bellman-Ford, Prim, Kruskal, topological sort and more run step by step, with the queue, the distance table and the reason for every move.

OPEN →
CPU Scheduling Simulator

Watch FCFS, SJF, SRTF, Round Robin, priority (with aging) and multilevel queues run: ready queue, CPU and a Gantt chart that builds in time.

OPEN →
Big-O Estimator from Timings

Time your code on a few input sizes, paste the numbers, and see which growth rate fits best.

OPEN →
Dynamic Programming Visualizer

Watch the DP table fill cell by cell for LCS, edit distance, knapsack, LIS, coin change and matrix chain, with the recurrence and real numbers for each cell, then the traceback to the answer.

OPEN →
Recursion and Backtracking Visualizer

Animated recursion: the Fibonacci call tree with and without memoization, Tower of Hanoi, permutations, subsets and N-Queens, with a counter of calls.

OPEN →
Tables to SQL CREATE Generator

Describe your tables in one line each and get CREATE TABLE statements with keys, in a safe creation order.

OPEN →
Normalization Checker

Enter a relation and its functional dependencies to get candidate keys, watch the attribute closure grow, and see each dependency checked for the normal form.

OPEN →
Subnet Calculator

Network address, broadcast address, mask and usable hosts for any IPv4 address and CIDR.

OPEN →
IPv4 Header Decoder

Paste an IPv4 header in hex, walk through every field on the 32-bit grid, and watch the checksum being added up.

OPEN →
chmod Calculator

Tick the permissions and get the chmod number, or type a number and see what it means.

OPEN →
Page Replacement Simulator

Step through FIFO, LRU, Optimal, Clock and LFU frame by frame, see the evicted page, and test Belady's anomaly.

OPEN →
Banker's Algorithm Checker

Step through the safety check with the Work vector, find a safe sequence, and test if a resource request can be granted.

OPEN →
Disk Scheduling Simulator

Watch the disk head move across the track for FCFS, SSTF, SCAN, C-SCAN, LOOK and C-LOOK, with the total head movement.

OPEN →
DFA and NFA Simulator

Type the states and transitions of a DFA or NFA, step through a string one character at a time, and see the NFA turned into a DFA.

OPEN →
Expression Parse Tree

Type an arithmetic expression and see its parse tree, full brackets, prefix and postfix forms, and the value.

OPEN →
Verilog and VHDL Boilerplate

Get ready-to-edit Verilog or VHDL for a flip-flop, counter, adder, 2-to-1 mux or testbench.

OPEN →
Bitwise Playground

Try AND, OR, XOR, NOT and shifts on two numbers and see binary, hex, signed and two's complement forms.

OPEN →
Modular Arithmetic Calculator

Compute a mod m, sums, products, powers, modular inverses and Euler's totient. Handles big numbers.

OPEN →
Prime Sieve Explorer

List all primes up to N with the Sieve of Eratosthenes and factor any number into primes.

OPEN →
Competitive Programming Template

Make a clean starter file for contests in C++, Python or Java with fast input and an optional test-case loop.

OPEN →
Stress Test Generator

Get a random test generator and a script that compares your solution with a slow correct one, to find the failing case.

OPEN →
Contest Edge Case Checklist

Run through this before you submit: the usual reasons for wrong answer, overflow and time limit. Saved in your browser.

OPEN →
Git Rescue Wizard

Pick what went wrong in Git and get the commands that fix it, with a plain warning about what each one does.

OPEN →
README Generator

Fill a few boxes and get a clean README.md for your project.

OPEN →
Docker Compose Generator

Make a docker-compose.yml for your app with an optional database and Redis.

OPEN →
GitHub Actions Workflow Builder

Make a simple CI workflow file that installs your project and runs its tests on every push.

OPEN →
OWASP Top 10 Checklist (2021)

The ten big web security risks from the OWASP Top 10 (2021 list) with simple checks for your project. Saved in your browser.

OPEN →
Machine Coding Round Planner

Split a machine coding or low-level design round into timed phases so you finish a working solution.

OPEN →
HLD Capacity Estimator

Back-of-the-envelope QPS, storage and bandwidth for a system design interview.

OPEN →
Rate Limiter Simulator

Send a list of request times through a fixed window, sliding window or token bucket limiter and watch the counter or bucket change.

OPEN →
ML Metrics Calculator

Accuracy, precision, recall, F1, specificity and MCC from a confusion matrix.

OPEN →
GPU Memory (VRAM) Estimator

Estimate how much GPU memory a model needs to run, or to train with Adam, from its size and precision.

OPEN →
LLM Token Cost Estimator

Estimate tokens in your prompt and what your API calls will cost, using the prices you type in.

OPEN →
RAG Chunk Size Simulator

See how your text splits into chunks for a RAG pipeline, for a chunk size and overlap you choose.

OPEN →
Dataset Imbalance Checker

Enter your class counts to see the imbalance ratio, the accuracy of always guessing the biggest class, and balanced class weights.

OPEN →
SQL Join Visualizer

Type two small tables and see exactly which rows INNER, LEFT, RIGHT, FULL and CROSS joins return.

OPEN →
Design Pattern Reference

The 23 classic Gang of Four design patterns with a one-line purpose each. Search or filter by type.

OPEN →
Hackathon Pacing Planner

Split a hackathon into phases with clock times so you do not spend 30 hours on one feature.

OPEN →
Open Source Issue Finder

Build a GitHub search link for beginner-friendly open issues in your language.

OPEN →
Coding Period Timeline Planner

Split a summer coding programme (like GSoC) into milestones with dates, a midpoint and an end buffer.

OPEN →
Stack Visualizer

Push, pop and peek on a stack and watch the top move, with overflow and underflow explained.

OPEN →
Queue Visualizer

Enqueue and dequeue on a circular array queue and see the front and rear wrap around.

OPEN →
Linked List Visualizer

Insert, delete, search and reverse a singly linked list and watch each pointer change.

OPEN →
Binary Search Tree Visualizer

Insert, delete and search a BST, and animate in-order, pre-order, post-order and level-order traversals.

OPEN →
Heap Visualizer

Insert and extract from a binary heap and watch sift up and sift down on both the tree and the array.

OPEN →
Hash Table Visualizer

Insert, search and delete keys in a hash table with chaining or linear probing and watch collisions happen.

OPEN →
Trie Visualizer

Insert words into a trie, search, check prefixes, autocomplete and delete with pruning.

OPEN →
Union-Find Visualizer

Union and find on disjoint sets, with union by size and path compression you can switch on and off.

OPEN →
AVL Tree Visualizer

Insert and delete in a self-balancing AVL tree and watch the four rotations (LL, RR, LR, RL) fix the balance.

OPEN →
Binary Search Visualizer

Watch binary search halve a sorted array, find the first position, or search on the answer (eating speed, ship capacity, square root). Edit the numbers.

OPEN →
Two Pointers Visualizer

See two pointers close in on an answer: pair with a target sum, container with most water, palindrome check. Edit the input.

OPEN →
Sliding Window Visualizer

Watch a window slide and grow over an array or string: best sum of size k, longest substring without repeats, shortest subarray reaching a sum.

OPEN →
Prefix Sums Visualizer

Build a prefix sum array, answer range sum queries with one subtraction, and count subarrays that add up to k with a hash map.

OPEN →
Monotonic Stack Visualizer

Watch a monotonic stack find the next greater element and the largest rectangle in a histogram, one push and pop at a time.

OPEN →
Memory Allocation Simulator

Place processes with first, best, worst or next fit and see the memory bar fill up and fragment. Add "free P1" lines to release memory.

OPEN →
Paging and Segmentation Address Translator

Translate logical addresses to physical ones with a page table or a segment table, one hardware step at a time.

OPEN →
Producer-Consumer Simulator

Step through the bounded buffer problem with semaphores. Try the wrong order of waits to see a deadlock, or no semaphores to see lost items.

OPEN →
Dining Philosophers Simulator

Watch the philosophers pick up forks. The naive strategy deadlocks when everyone grabs their left fork. Try ordering, a waiter or odd-even.

OPEN →
TCP Handshake and Teardown Visualizer

See the TCP three-way handshake, data transfer and connection close as a ladder diagram, with sequence and acknowledgment numbers and both state machines.

OPEN →
Sliding Window Protocol Simulator (Go-Back-N and Selective Repeat)

Send packets through a lossy link with Go-Back-N or Selective Repeat and watch the sender window, the packets on the wire, timeouts and resends.

OPEN →
Deadlock Detector (Resource Allocation Graph)

Draw a resource allocation graph with text, watch the cycle search, then the graph reduction that tells a real deadlock from a harmless cycle.

OPEN →
Regex Practice Game

Write a pattern for each level and get instant pass or fail on strings that must match and must not match. 17 levels.

OPEN →
Bit Manipulation Lab

Click bits, try AND, OR, XOR, NOT and shifts with live binary, then solve 20 guided bit exercises.

OPEN →
Predict the Output Trainer

32 tricky C, Java and Python snippets. Guess the output, then see exactly why. Every answer was checked by running real compilers.

OPEN →
Big-O Recognition Quiz

15 small code snippets. Pick the time complexity. Every answer was verified by counting real operations as n doubles.

OPEN →
Number Base and Two's Complement Drills

Endless practice problems: binary, hex, two's complement, signed ranges and 8-bit overflow. Each answer comes with the working.

OPEN →
ASCII, Unicode and Escape Trainer

Type any character to see its code, UTF-8 bytes and UTF-16 units. Learn escape sequences and practise ASCII tricks.

OPEN →
Linux Command Trainer

A pretend Linux shell in your browser. Run ls, cd, mkdir, cp, mv, rm, grep, chmod and pipes, and finish 13 missions. Nothing touches your computer.

OPEN →
Integer Overflow Lab

Watch a number wrap around when it goes past the biggest or smallest value of an 8, 16 or 32-bit integer.

OPEN →
Recursion Call Stack Tracer

Step through recursive calls and returns, and watch the call stack grow and shrink. Factorial, Fibonacci, GCD, fast power and Tower of Hanoi.

OPEN →
Time and Space Complexity Cheat Sheet and Quiz

One-page table of sorting, searching, data structure and graph complexities, plus a quiz to test yourself.

OPEN →
Growth Rate Table (Big-O in Real Time)

Type n and see how many operations each complexity class needs, and how long that takes at your computer's speed.

OPEN →

Coming soon.

19 planned

C Pointer and Memory VisualizerSQL Sandbox8085 and 8086 Instruction LookupMATLAB to NumPy TranslatorPython Syntax FixerProblem Picker by Tag and RatingRating Goal PlannerGitHub Profile README GeneratorIndex and Query Plan ExplainerCAP Theorem PickerMongoDB Pipeline BuilderSQL Window Functions SandboxSystem Design FlashcardsCloud Free Tier EstimatorFree Hosting MatcherHackathon Idea Scope CutterHackathon Pitch TimerHackathon Team Role MatcherHackathon Submission Writer