My Java solution for Leetcode Online Judge: https://github.com/yfpeng/pengyifan-leetcode. All the codes are tested using online-judge. Please feel free to let me know if you have any problem or better solutions.
Requirements
- Java version >= 1.6
- Maven2
Unit tests
Almost all problems are accompanied by test cases. Some have corner test cases, others do not.
mvn test