Master Data Structures & Algorithms with a Structured Roadmap, Built-In IDE, and a High-Performance C++ Execution Engine
LeetCore is an open-source DSA (Data Structures and Algorithms) learning and practice platform built for developers preparing for coding interviews, competitive programming, and placement exams. It combines a structured DSA roadmap, an in-browser coding IDE with Monaco Editor, a real-time C++ code execution engine, and progress analytics — all in one full-stack application.
Getting Started • Features • Tech Stack • Architecture • Roadmap • Contributing
If you're searching for a free open-source LeetCode alternative, a DSA practice tool with a built-in code compiler, or a project to learn full-stack system design (React + Node.js + C++), LeetCore is built exactly for that use case. It's ideal for:
- Students preparing for technical coding interviews at product-based companies
- Developers who want a self-hosted DSA tracker with real code execution
- Engineers learning how to build a custom online judge / code execution engine
- Anyone contributing to an open-source educational coding platform
React (Frontend UI)
↓
Node.js (API Layer / Controller)
↓
C++ Engine (Execution & DSA Logic)
| Layer | Responsibility |
|---|---|
| Frontend (React) | User interface, in-browser IDE, algorithm visualization, dashboard & roadmap |
| Backend (Node.js) | REST API handling, request validation, routing code to the execution engine |
| C++ Engine | Code compilation, sandboxed execution, performance-critical DSA logic |
| Category | Technology |
|---|---|
| Frontend | React.js, Tailwind CSS, React Router |
| Backend | Node.js, Express.js |
| Execution Engine | C++, g++ compiler |
| Editor | Monaco Editor (VS Code engine) |
| Utilities | Nodemon, Axios |
leetcore/
│
├── client/ # React frontend — IDE, dashboard, roadmap UI
├── server/ # Node.js backend — API layer & controllers
├── cpp-engine/ # C++ execution engine — compiles & runs user code
│
├── docs/ # DSA documentation (coming soon)
└── README.md
- Curated, topic-wise DSA roadmap
- Pattern-based problem categorization (two-pointers, sliding window, DP, graphs, etc.)
- Beginner-to-advanced learning path
- Syntax-highlighted code editor (Monaco Editor)
- Custom input/output console
- Real-time code execution feedback
- Executes user-submitted code via a native C++ compilation pipeline
- Fast, lightweight, and efficient runtime handling
- Supports custom test-case inputs
- Track solved problems by topic and difficulty
- Visual completion status across the roadmap
- Performance insights over time
- Step-by-step execution visualization
- Interactive flow for recursion, sorting, and graph traversal
User writes code (React IDE)
↓
API request → /run-code
↓
Node.js backend validates & forwards request
↓
C++ engine compiles & executes the code
↓
Output/errors returned to the frontend console
- Node.js (v16+ recommended)
- g++ compiler installed and available in your system
PATH - Git
git clone https://github.com/MOHITGODARA1/leetcore.git
cd leetcorecd client
npm install
npm run devcd server
npm install
npm run devVerify g++ is installed:
g++ --versionCompile the engine:
cd cpp-engine
g++ main.cpp -o engineOnce all three services are running, open the frontend URL shown in your terminal (typically http://localhost:5173) to start using LeetCore.
- Docker-based secure & sandboxed code execution
- Multi-language support (Python, Java, JavaScript)
- AI-based problem recommendation engine
- Advanced analytics dashboard
- Real-time collaborative coding rooms
- Build strong DSA fundamentals through structured practice
- Provide an all-in-one, self-hosted coding interview prep platform
- Simulate real technical interview environments
- Demonstrate a scalable, full-stack system design (React + Node.js + C++)
Contributions are what make the open-source community thrive. Any contributions you make are greatly appreciated.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Please open an issue first for major changes to discuss what you'd like to modify.
This project is licensed under the MIT License — see the LICENSE file for details.
Inspired by modern coding practice platforms and built to provide a more structured, transparent, and open DSA learning experience.
Mohit Godara Full Stack Developer | Problem Solver
Keywords: DSA practice platform, LeetCode alternative, coding interview prep, online code compiler, C++ execution engine, React Node.js full-stack project, algorithm visualization, competitive programming tool, open-source coding platform