- Notifications
You must be signed in to change notification settings - Fork0
luisthedragon/neetcode-solutions
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
My solutions toLeetcode problems following theneetcode.io suggested path
The following steps will allow you to run the solutions locally
Create a virtual environment
python -m venv .venv source .venv/bin/activate
It is recommend to use the python-leetcode-runner library
pip install -r requirements.txt
To run a test use pyleet
cd {{folder}} pyleet filename.py
For example:
cd "Arrays & Hashing" pyleet 1_contains_duplicate.py
Example output:
Test 1 - ([1, 2, 3, 1])...................................................................................................................................PASSED Test 2 - ([1, 2, 3, 4])...................................................................................................................................PASSED Test 3 - ([1, 1, 1, 3, 3, 4, 3, 2, 4, 2]).................................................................................................................PASSED All cases passed!
About
No description, website, or topics provided.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.