Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

algorhythms/LintCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

163 Commits

Repository files navigation

LintCode Language License

Python in Action.

Contents

Only unique questions from LintCode are included. Duplicated questions of LeetCode are excluded, which can be found in https://github.com/idf/LeetCode instead.

Python

This repo mainly uses Python. To run in Python:

python <QuestionName>.py

If you encountered Class Already Defined compilation problem in OJ, please remove TreeNode, GraphNode or etc.

Java

Some algorithms in Python cannot pass the OJ due to OJ bugs; thus the alternative solutions in java in the exactly same algorithm are provided. To run in Java:

cd LintCode/java/src/main/java
javac <PackageName>/Solution.java
java -ea <PackageName>/Solution # -ea: enable assertion

Notes: TLE & MLE

Failed attempts are kept in the source code as documentation, which are annotated as TLE (Time Limit Exceeds) or MLE (Memory Limit Exceeds).

Online Judges

LintCode Copyright

Most of the code are from the section tag of LintCode Copyright

About

LintCode Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /