leetcode-python-java /leetcode-python-java

Solving LeetCode problems in the best way. Python, Java, C++, JavaScript, C#, Go, Ruby, Rust, C, Kotlin, Swift, PHP, and Dart are supported! Official website👇🏻:

★ 299⑂ 39👁 4⑃ 0● 0▤ 0
Created 2019-02-03www.coder.id/leetcode
+0
Daily
299
stars
39
forks
4
watchers
0
prs
0
issues
0
releases

README

leetcode-python-java

Sharing the most comprehensive LeetCode solutions, fully supporting Python, Java, C++, JavaScript, C, Go, Ruby, Rust, C, Kotlin, Swift, PHP, and Dart.
For a better web experience, please visit: https://www.coder.id/leetcode/

 Array

View on coder.id

- 26 (zh), 27 (zh), 49 (zh), 59 (zh), 75 (zh), 88 (zh), 117 (zh), 119 (zh), 169 (zh), 209 (zh), 238 (zh), 303 (zh), 344 (zh), 349 (zh), 443 (zh), 605 (zh), 704 (zh), 977 (zh), 1431 (zh), 1732 (zh), 1833 (zh), 1840 (zh), 3478 (zh), 3689 (zh), 3691 (zh), 3838 (zh)

 Heap Sort (Priority Queue)

View on coder.id

- 3478 (zh), 3691 (zh)

 Matrix/Grid

View on coder.id

- 59 (zh)

 Brute Force Algorithm

View on coder.id

 LeetCode 75

View on coder.id

 Pre-Computation Techniques

View on coder.id

- 238 (zh)

 Prefix Sum

View on coder.id

- 1732 (zh)

 Backtracking Algorithm

View on coder.id

 Binary Search

View on coder.id

- 349 (zh)

 Counting

View on coder.id

- 1189 (zh)

 Design

View on coder.id

- 232 (zh)

 Dynamic Programming

View on coder.id

- 5 (zh), 53 (zh), 72 (zh), 119 (zh), 392 (zh), 416 (zh), 474 (zh), 494 (zh), 509 (zh), 583 (zh), 1049 (zh), 3494 (zh), 3753 (zh)

 House Robber

View on coder.id

 Knapsack Problem

View on coder.id

- 416 (zh), 474 (zh), 494 (zh), 1049 (zh)

 0/1 Knapsack Problem

View on coder.id

- 416 (zh), 474 (zh), 494 (zh), 1049 (zh)

 Stock Maximum Profit

View on coder.id

 Unbounded Knapsack

View on coder.id

 Palindrome

View on coder.id

- 5 (zh), 125 (zh)

 Subsequence Problems

View on coder.id

- 72 (zh), 392 (zh), 583 (zh)

 Graph Theory

View on coder.id

- 797 (zh), 1042 (zh)

 A Algorithm

View on coder.id

 Breadth-First Search

View on coder.id

- 117 (zh), 3558 (zh)

 Depth-First Search

View on coder.id

- 797 (zh), 3558 (zh)

 Minimum Spanning Tree

View on coder.id

 Kruskal's Algorithm

View on coder.id

 UnionFind

View on coder.id

 Greedy Algorithm

View on coder.id

- 53 (zh), 334 (zh), 605 (zh), 1042 (zh), 1833 (zh), 3689 (zh)

 Hash Table

View on coder.id

- 1 (zh), 15 (zh), 49 (zh), 169 (zh), 202 (zh), 242 (zh), 349 (zh), 383 (zh), 454 (zh), 1189 (zh), 3838 (zh)

 Linked List

View on coder.id

- 19 (zh), 24 (zh), 160 (zh), 203 (zh), 206 (zh), 707 (zh), 2095 (zh), 2130 (zh)

 Math

View on coder.id

- 1344 (zh), 1840 (zh), 3558 (zh), 3689 (zh), 3753 (zh)

 Other Algorithm

View on coder.id

 Recursion

View on coder.id

 Prim's algorithm

View on coder.id

 Queue

View on coder.id

- 225 (zh), 232 (zh)

 Segment Tree

View on coder.id

- 3691 (zh)

 Shortest Path

View on coder.id

 Bellman-Ford Algorithm

View on coder.id

 Dijkstra's Algorithm

View on coder.id

 Floyd–Warshall Algorithm

View on coder.id

 Simulation

View on coder.id

- 3612 (zh), 3614 (zh), 3838 (zh)

 Sorting

View on coder.id

- 75 (zh), 349 (zh), 1833 (zh), 1840 (zh)

 Counting Sort

View on coder.id

- 1833 (zh)

 Stack

View on coder.id

- 13 (zh), 20 (zh), 225 (zh), 232 (zh), 2130 (zh)

 Monotonic Stack

View on coder.id

 String

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON