Skip to content

StevenUpForever/leetcode-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-java

Introduction

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.

Coding style

Followed Google Java Coding style.

Source code

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的解法,类名是当前问题的标题。

提供从蛮力法到优化解法的尽可能多种的循序渐进的优化解法 (排序方式按照时间复杂度和实际运行时间)。

包含了时间/空间复杂度的分析。

编码风格

遵循 Google Java Coding style

源代码

在当前目录的src文件夹下 ./src/

复制当前repo:

git clone https://github.com/StevenUpForever/LeetCode_Java.git

欢迎提出pull requests and Issues