Skip to content

liuhongjiang/leetcode-solutions-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-solutions-python

Solutions implemented in python for leetcode algorithms.

The file name organized in the following format:

{problem number}-{problem title}_{version}.py

The version is optional.

Run test

Add a test.py file as framework to all solution.

There are two way to run it.

python test.py

This will run the test for the latest modified code file.

python test.py {issue_number}

This will run the test for specific solution of the issue_number

For example:

python test.py 10

This will run the test case for solution 10.

The test cases are stored in the test_data directory.

About

leetcode solutions implemented in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages