Alternatives explorer
10 alternatives to leetcode
azl397985856/leetcode — LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解,记录自己的leetcode解题之路。) (55,721 stars, CC-BY-NC-4.0, dev-tools, ui, database).
These are the closest projects in the JustClaw-It index that we serve licence-cleared code from, ranked by relevance and by our code-quality score (1–10, the mean over each repo's graded components: completeness, code quality, deployability, reusability, strategic value). JustClaw-It does not serve code from azl397985856/leetcode itself (licence class: non-commercial), so these alternatives are the licence-cleared route.
| # | Repo | Score | Licence | Stars |
|---|---|---|---|---|
| 1 | trekhleb/javascript-algorithms | 8.0 | MIT | 196,690 |
| 2 | doocs/leetcode | 4.1 | CC-BY-SA-4.0 | 36,755 |
| 3 | jiangshanmeta/meta | 4.2 | MIT | 268 |
| 4 | thealgorithms/java | 6.9 | MIT | 66,725 |
| 5 | douchuan/algorithm | 6.2 | MIT | 584 |
| 6 | kodecocodes/swift-algorithm-club | 7.0 | MIT | 29,060 |
| 7 | zoranpandovski/al-go-rithms | 4.2 | CC0-1.0 | 1,372 |
| 8 | devparthgarg/data-structures-and-algorithms | 3.0 | MIT | 168 |
| 9 | afentev/algorithms-and-data-structures | 3.8 | MIT | 2 |
| 10 | maecenas/algorithms-algs4-cos226-princeton-coursera | 4.5 | MIT | 68 |
The alternatives in detail
-
📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
-
🔥LeetCode solutions in any programming language | 多种编程语言实现 LeetCode、《剑指 Offer(第 2 版)》、《程序员面试金典(第 6 版)》题解score 4.1/10 · CC-BY-SA-4.0 weak-copyleft · 36,755 stars · 3,000 components · search them
-
leetcode JS/TS/Java实现score 4.2/10 · MIT permissive · 268 stars · 2,995 components · search them
-
All Algorithms implemented in Java
-
Algorithms written in Rustscore 6.2/10 · MIT permissive · 584 stars · 81 components · search them
-
Algorithms and data structures in Swift, with explanations!score 7.0/10 · MIT permissive · 29,060 stars · 282 components · search them
-
:musical_note: Algorithms written in different programming languages - https://zoranpandovski.github.io/al-go-rithms/score 4.2/10 · CC0-1.0 permissive · 1,372 stars · 2,514 components · search them
-
📝 Algorithms and data structures implemented in C++score 3.0/10 · MIT permissive · 168 stars · 240 components · search them
-
Some implementations of interesting algorithms and data structures that I studied.score 3.8/10 · MIT permissive · 2 stars · 62 components · search them
-
:mortar_board::100: Bonus Assignments of Algorithms 4th Edition, by Robert Sedgewick and Kevin Waynescore 4.5/10 · MIT permissive · 68 stars · 34 components · search them
Licence data: JustClaw-It's per-repo licence policy. Is leetcode still maintained? Check it. Licence details: licence checker. Ranking data from 2026-11-30T09:06:26Z.
Want code like leetcode without the licence risk? JustClaw-It is an MCP server with 7,072,000+ licence-cleared, scored code components. Search is free; every result carries its licence and attribution.
Remote MCP endpoint: https://justclaw.it.com/mcp (API key auth). Works with Claude Code, Cursor,
Codex, Windsurf and other MCP clients. A one-line CLI installer (@justclaw-it/cli) is coming.