My LeetCode Solutions Record.
The solution code is distributed in two locations:
-
Some solutions are in
src/main/java, with corresponding test cases insrc/main/test. This code can be executed through maven (e.g.,mvn clean test) -
Other solutions are in
src/main/leetcode/editor/cn, which follows the file format generated by the IntelliJ-IDEA/VSCode LeetCode plugin, containing another set of solution code
- TwoPointers
- SlidingWindow
- BinarySearch
- DP
- Backtracking
- DFS
- BFS
- LinkedList
- Tree
- Graph
- TopologicalSorting
- GraphSearch
- UnionFindSet
- Sorting
- MISC
- Array
- Hashing
- Stack
- Queue
- BitManipulation