Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>AlgoLens — Your DSA EducatorNew to Visual Studio Code? Get it now.
AlgoLens — Your DSA Educator

AlgoLens — Your DSA Educator

AlgoLens — Your DSA Educator

|
32 installs
| (0) | Free
See your algorithm run, step by step, next to your code. Arrays, graphs, DP tables and recursion — traced from a real execution, never simulated. C++ and Python.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AlgoLens

Version Installs Rating algolens.org

Your DSA educator, inside VS Code.
AlgoLens runs your C++ or Python file and draws what happens — the array, the graph, the DP table — one step at a time, next to your code.
Every value comes from a real execution, so what you see is what your program actually did.

AlgoLens visualizing a bubble sort step by step, with index pointers moving across the array


Quick start

  1. Install the extension.
  2. Click the AlgoLens icon in the activity bar, then Continue with Google.
  3. Open any .cpp or .py file.
  4. Press Ctrl+Alt+Enter.

That is the whole setup. Nothing to configure, nothing to attach, nothing installed locally — your code runs in an isolated sandbox on our servers and the trace comes back in about a second.

Does your program read input? Press Sample input and AlgoLens writes one that fits your code — shown in the box, yours to edit before you run.

Shortcuts

Action Shortcut
Visualize this file Ctrl+Alt+Enter
Play / pause Ctrl+Alt+Space
Step forward Ctrl+Alt+→
Step back Ctrl+Alt+←
Jump to start Ctrl+Alt+Home
Jump to end Ctrl+Alt+End

What it visualizes

Structure What you see
Arrays and two pointers Index pointers on fixed floors, coloured by loop depth
2D tables Row and column cursors — DP, grids, matrices
Graphs Directed arrows, edge weights, the live edge, BFS/DFS/Dijkstra frontier, shortest-path tree
Linked lists and trees Real heap nodes and the pointers between them
Recursion The full call tree, with time spent per branch
Sorting and searching Swaps, comparisons, converging bounds
Complexity Hot lines, step counts, and an estimate you can argue with

Two languages, one experience: C++ through GDB, Python through the interpreter itself. The visualization does not care which one you wrote.


Why people keep it installed

It is your code, not a canned animation. Not "a" bubble sort — your bubble sort, with your values, from your file.

It follows you in the editor. The current line lights up in your own file as you step, with the step counter beside it. Hot lines are marked in the gutter, so the quadratic loop is visible before you open a profiler. A browser cannot do this.

Every number is real. Values come from a live tracer, never a simulation. If AlgoLens shows dist[3] = 14, your program computed 14. A visualizer you cannot trust is worse than none.

It explains what it draws. An AI layer describes each step in plain language and estimates complexity. It chooses what to draw and how to explain it — it never touches the values.

It speaks your language. Interface and explanations in English and Azerbaijani, switchable in one click.


Made for the moments that decide things

Interview season. Six weeks, two hundred problems, a Big Tech loop on the other side. Understanding why Dijkstra pops that node beats memorising a template you will forget under pressure.

Contest debugging. Wrong answer on test 14, twenty minutes left. Step until the array stops matching what you expected — that moment is the bug.

Teaching. A segment tree takes twenty minutes on a whiteboard and thirty seconds on a screen.

Your first DSA course. The gap between "I read the chapter" and "I can implement it" closes fastest when you can watch the structure move.


Your work, in both places

Sign in and every run is saved to your account — the same list you see on algolens.org. Write a solution in the browser on the train, open it in the editor at your desk. Rename it, delete it, pick up where you left off.

We read your name and email from Google, nothing else. Your source is sent to the AlgoLens API to be traced, and stored only after a successful run so that you can reopen it later.

Also on the web

The full visualizer runs at algolens.org — same engine, same visuals, no install. Use whichever fits the moment.


Stop guessing what your code does. Watch it happen.
algolens.org

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft