Code Lens Learning is a free, local-first VS Code extension that helps students understand DSA and LeetCode-style problems by seeing the problem model and their code execution.
Highlights
Problem Lab detects common DSA patterns locally and explains the approach, complexity, constraints, common mistakes, and conceptual model.
Trace runs trusted Python snippets locally and shows real line execution, function calls, returns, variable changes, arrays, output, and source highlighting.
Concept Explorer has a searchable DSA library including arrays, trees, graphs, sliding windows, shortest paths, sorting, DP, and more.
C++ Test Case Lab converts common LeetCode-style inputs into a temporary test harness and reports pass/fail output.
Requirements
VS Code 1.85 or newer
Python on PATH for Python tracing
MinGW-w64 on PATH for C++ compilation and tests
A JDK on PATH for Java compilation
Run from source
Install Node.js.
Run npm install.
Run npm run compile.
Open the folder in VS Code and press F5.
Privacy and safety
The extension does not require an API key or send problem/code content to a backend. Python, C++, and Java code run locally. Use only snippets you trust; the Python tracer has time and event limits, but it is not a full operating-system sandbox.