Free to list, always.No paid rankings. Every recommendation explains its trade-offs.
OpenSourceChoice

Open-source alternatives guide · Updated 2026

Best open-source alternatives to Leetcode

Compare the best free and open-source alternatives to LeetCode — 6 verified projects with explicit catalog relationships. Inspect licenses, GitHub activity, self-hosting signals, and migration fit before you switch.

  • 6verified alternatives
  • 0self-hosted signals
  • 3categories

Only explicit alternative relationships are shown—never inferred competitor claims.

Overview

This guide compares 6 verified open-source alternatives to LeetCode, including Coding Interview University, The Algorithms: Python, JavaScript Algorithms, and JavaGuide.

Projects appear across Developer Tools, AI & Machine Learning, and Content & Collaboration. Ranking follows public GitHub stars and recorded momentum—not vendor marketing. Compare projects side by side, then confirm license fit, migration effort, and operational ownership before adopting any option.

Strongest repository-activity signal: Coding Interview University · Jump to ranking · 357.4K stars

About LeetCode

Proprietary product with documented open-source alternatives cataloged on OpenSourceChoice. Compare licenses, repository activity, and self-hosting options befo

Ranked open-source alternatives to LeetCode

Compare capabilities, licensing, and ownership model. Stars help with discovery; they are not a security or product-fit guarantee.

How to choose a LeetCode alternative
01

Map must-have capabilitiesList the workflows in LeetCode you cannot drop during migration.

02

Verify the licenseConfirm it fits your use, distribution, and compliance model. Browse license briefs.

03

Run a proof of conceptTest real data, integrations, clients, and failure modes. Use Compare for side-by-side checks.

04

Plan ownershipAssess upgrades, backups, support, and an exit path. Read when self-hosting is worth it.

Frequently asked questions about LeetCode alternatives

What are the best open-source alternatives to LeetCode?

OpenSourceChoice currently lists 6 projects with an explicit alternative relationship to LeetCode. Catalog highlights include Coding Interview University, The Algorithms: Python, and JavaScript Algorithms. Rankings follow public GitHub stars and recorded momentum—not paid placement. Match capabilities and license fit to your workflow before adopting any option.

Are open-source alternatives to LeetCode free?

Most catalogued alternatives publish source under OSI or source-available licenses and are free to inspect. Hosting, commercial support, or cloud model APIs may still cost money. Always read the project license for your use case.

Can I self-host an alternative to LeetCode?

Some open-source replacements support self-hosting or local deployment; others are libraries or clients without a server component. Check each project’s deployment docs rather than assuming a drop-in hosted twin.

How should I evaluate LeetCode alternatives?

Map must-have LeetCode workflows, verify license and compliance fit, run a proof of concept with real data and integrations, then plan ownership for upgrades, backups, support, and an exit path.

Browse and filter the catalog

Narrow the same alternatives by search, license, tags, or self-hosting signals when you need a tighter shortlist.

A complete computer science study plan to become a software engineer.

FreePricingFree and open sourceFree357.4K84.4K11 months ago

All Algorithms implemented in Python

FreePricingFree and open sourceFree223.3K50.9K8 days ago

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

FreePricingFree and open sourceFree196.3K31K3 days ago
ChinaApache-2.0

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

FreePricingFree and open sourceFree157.4K46.2K23 hours ago

Curated coding interview preparation materials for busy software engineers

FreePricingFree and open sourceFree141.3K16.7K4 months ago
Apache-2.0

Learning to code made free and accessible to everyone.

FreePricingFree and open sourceFree43243May 10, 2025
Showing 6 of 6