Predict Output with PythonTrace Table practice &Technical Interview Prep.
Master Python dry-run execution and interactive trace tables line by line — or write and verify SQL queries against live in-browser databases. Built for technical phone screens, FAANG coding assessments, and university CS exams.
Python Sandbox
Trace & Dry-RunAnalyze closures, mutable defaults, variable scopes, and recursion step by step to predict console stdout.
SQL Playground
WASM SQLite EngineExecute queries and optimize joins, aggregations, window functions, and CTEs against in-memory relational schemas.
Game Arcade & Algos
19 Game ModesInteractive QuickSort, BubbleSort, Binary Search, A*, and Minimax in AlgoTrace Arena plus 18 other arcade modes.
Free Python Trace Table Practice & Technical Interview Prep Guides
Advanced Recursion Trace Tables
Visualize call stacks and memoization techniques for interview-ready recursion.
Aliasing & Shared State
Detect when variables share objects and avoid mutable surprises in production.
Top 10 Trace Questions
Ten high-value trace puzzles with concise answers to practice daily.
Interactive Curriculum
Python trace table drills and SQL query challenges — one platform.
In-Browser Sandbox
Run Python trace problems and SQL queries without installing anything. The Python track uses a frame-by-frame simulator; the SQL track uses a WebAssembly SQLite engine with real HR, e-commerce, and competition table data.
Structured Learning Paths
Follow topic-by-topic tracks for Python from basics through decorators, and SQL from SELECT fundamentals through window functions and CTEs. Earn XP, build streaks, and track your progress on the leaderboard.
CPython Execution & Memory Visualization Sandbox
Evaluate Python instructions step by step. Track stack frames, observe heap object references, and predict console stdout before runtime execution.
def counter_generator():
count = 0
def step():
nonlocal count
count += 1
return count
return step
counter = counter_generator()
print(counter()) # Output: 1
print(counter()) # Output: 2Frequently Asked Questions
Everything you need to know about practicing on PyCodeIt.