Skip to content

Quick reference for common LeetCode Python techniques and patterns.

License

Notifications You must be signed in to change notification settings

teihenn/leetcode-py-cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-py-cheatsheet

Python Tests

Quick reference for common LeetCode Python techniques and patterns.

Running Tests

This project uses Python's standard library unittest for testing and uv as the Python package installer and development server.

Run all tests

uv run python -m unittest discover test

Run all tests with verbose output

uv run python -m unittest discover test -v

Run a specific test file

uv run python -m unittest test/test_anagram.py

Run a specific test class

uv run python -m unittest test.test_anagram.TestAnagramMethods

Run a specific test method

uv run python -m unittest test.test_anagram.TestAnagramMethods.test_are_anagrams_sorting

About

Quick reference for common LeetCode Python techniques and patterns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages