Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Algo-Mentor AINew to Visual Studio Code? Get it now.
Algo-Mentor AI

Algo-Mentor AI

Aryan Kumar95

|
2 installs
| (0) | Free
AI-powered time/space complexity analysis and hints for C++ developers.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Algo Mentor AI

Algo Mentor AI is a professional-grade VS Code extension designed to act as your strict Data Structures and Algorithms (DSA) mentor. It analyzes your C++ code directly within your editor and provides instant, line-specific feedback on time complexity, space complexity, and logical flaws using Google's Gemini AI.

Features

  • Line-Aware Complexity Analysis: Get instant Big-O notation for your highlighted code or entire files.

  • Proactive Bug Detection: Identifies logical flaws, runtime errors, and edge-case behaviors with precise line-number mapping.

  • Senior-Engineer Optimization Hints: Receives actionable, professional-grade advice to optimize your algorithms.

  • Native IDE Integration: Results are presented in a sleek, theme-aware Webview panel.

Setup & Configuration (Important)

To ensure privacy and security, this extension uses your own API key.

  1. Install the extension from the VS Code Marketplace.

  2. Open your VS Code Settings (Ctrl + , or Cmd + ,).

  3. Search for "Algo Mentor".

  4. Paste your Google Gemini API Key into the Algo Mentor: Api Key field.

  • Don't have a key? Get one for free at Google AI Studio.

How to Use

  1. Open any C++ file in VS Code.

  2. Highlight a specific function or block of code, OR leave your selection empty to audit the entire file.

  3. Open the Command Palette (Ctrl + Shift + P or Cmd + Shift + P).

  4. Type "Algo Mentor: Analyze Code" and press Enter.

  5. The analysis report will appear in a panel to the right.

Engineering Standards

This extension is built using:

  • VS Code Extension API (Commands, Webviews, Configuration)

  • Google Gemini API (1.5-Flash for low-latency analysis)

  • Secure Auth Architecture (No hardcoded credentials; user-configured settings)

  • Automated Data Processing (Line-mapped code pre-processing for high AI accuracy)

Built with passion for the developer community. If you find this tool helpful, feel free to contribute or report issues on the GitHub repository.

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