The legacy_code implementations in Java sorted by solving method.
problem's title as the class name.
With as many possible solutions which from brute force to optimized solutions (by time complexity and real runtime).
Include explanations and time/space complexity analysis.
Followed Google Java Coding style.
Under the root/src folder ./src/
Clone from this repo:
git clone https://github.com/StevenUpForever/LeetCode_Java.git
pull requests and Issues are welcome
这个repo是以解题方法为序的LeetCode Java的解法,类名是当前问题的标题。
提供从蛮力法到优化解法的尽可能多种的循序渐进的优化解法 (排序方式按照时间复杂度和实际运行时间)。
包含了时间/空间复杂度的分析。
在当前目录的src文件夹下 ./src/
复制当前repo:
git clone https://github.com/StevenUpForever/LeetCode_Java.git
欢迎提出pull requests and Issues