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.

#RepoScoreLicenceStars
1trekhleb/javascript-algorithms8.0MIT196,690
2doocs/leetcode4.1CC-BY-SA-4.036,755
3jiangshanmeta/meta4.2MIT268
4thealgorithms/java6.9MIT66,725
5douchuan/algorithm6.2MIT584
6kodecocodes/swift-algorithm-club7.0MIT29,060
7zoranpandovski/al-go-rithms4.2CC0-1.01,372
8devparthgarg/data-structures-and-algorithms3.0MIT168
9afentev/algorithms-and-data-structures3.8MIT2
10maecenas/algorithms-algs4-cos226-princeton-coursera4.5MIT68

The alternatives in detail

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.

Get a free API key Read the docs