Movatterモバイル変換


[0]ホーム

URL:


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
NotificationsYou must be signed in to change notification settings

luisthedragon/neetcode-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My solutions toLeetcode problems following theneetcode.io suggested path

Getting started

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp