Java solution for Leetcode Online Judge.
Java Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.project
LICENSE.txt
README.md
pom.xml

README.md

pengyifan-leetcode

My Java/Python solution for Leetcode Online Judge. 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
  • pytest

Unit tests

Almost all problems are accompanied by test cases. Some have corner test cases, others do not.

mvn test

Run pytest

You can go to src/main/python then run

pytest pyleetcode/xxx.py