LeetCode Help brings LeetCode problems into VS Code so you can generate a local solution workspace, run it, compare results, and copy the required Solution class.
Features
Search the LeetCode problem list from the extension.
Generate C++, Java, or Python starter code and test data.
Run a question-specific solution locally.
Compare actual output with expected output per test case.
View active questions, descriptions, constraints, and results.
Copy only the Solution class and open the problem directly on LeetCode.
Requirements
Run the companion backend before parsing a question. Configure its .env with MONGODB_URI and GOOGLE_API_KEY as described in the backend README.
The selected language also needs its local toolchain available on PATH:
g++ for C++
A JDK for Java
Python for Python
The backend URL is configured in src/config.ts as BACKEND_BASE_URL.
Local Development
npm install
npm run compile
Use the VS Code Extension Development Host to test the extension.