6 Open Source Alternatives to LeetCode

There are 6 open-source alternatives to LeetCode in this directory. The most popular is Python Algorithms with 198.4k GitHub stars, followed by JavaScript Algorithms(195.8k stars). All are open source, free to use, and many can be self-hosted.

Quick comparison

Open-source alternatives to LeetCode, ranked by GitHub stars
#ToolStarsLanguageLicense
1Python Algorithms

A comprehensive collection of all algorithms implemented in Python, suitable for learning and teaching purposes.

198.4kPythonMIT License
2JavaScript Algorithms

A comprehensive collection of algorithms and data structures implemented in JavaScript, complete with explanations and additional reading links.

195.8kJavaScriptMIT License
3Tech Interview Handbook

Curated coding interview preparation materials for busy software engineers, covering essential topics, challenges, and tips.

138.7kTypeScriptMIT License
430 Seconds of Code

A collection of coding articles and snippets that help you enhance your development skills quickly and efficiently.

123.1kJavaScriptCreative Commons Attribution 4.0 International
5JavaScript

Comprehensive collection of algorithms and data structures implemented in JavaScript, designed for beginners and following best practices.

33.0kJavaScriptGNU General Public License v3.0
6CS-Interview-Knowledge-Map

Enhance your technical interview preparation with a comprehensive map covering JavaScript, networking, browser technologies, performance optimization, security, frameworks, Git, data structures, and algorithms.

18.3kβ€”β€”

All open-source alternatives to LeetCode

Frequently asked questions

What are the best open-source alternatives to LeetCode?

The top three are Python Algorithms(198.4k stars), JavaScript Algorithms(195.8k stars), Tech Interview Handbook(138.7k stars). All are open source and free to use.

Are these alternatives to LeetCode free?

Yes. Every tool listed here is open source and free to use in your own projects. Many can be self-hosted on your own infrastructure, which means no subscription fees and full control over your data.

Can I self-host an alternative to LeetCode?

Many of the alternatives listed are self-hostable. Each tool's page lists hosting details, system requirements, and licensing terms.

Stay Updated!

Get notified about new tools and updates to existing ones.