An open API service indexing awesome lists of open source software.

https://github.com/nightonke/oldleetcode

Solutions for LeetCode.
https://github.com/nightonke/oldleetcode

Last synced: 3 months ago
JSON representation

Solutions for LeetCode.

Awesome Lists containing this project

README

          

# LeetCode
Solutions for LeetCode.

These solutions contains C, C++ and JAVA.
Most of them is C++, which I was learning when I started LeetCoding.

Because of the different languages, I push them in a JAVA project.
In the src files, there are hundreds of .java file.
The file name is "_" + the number of the problem + "_" + the title + ".java".
In each .java file, the structure is:

public class .java_name(the class's name) {

// title

codes

}

Also, there may be some .java files which are for testing.
For example the Main.java and the TreeNode class used in the solutions.

If want to read more infomations about the solutions:
http://blog.csdn.net/u012925008/article/category/2936085