Skip to content

search2026/leetcode_python

Repository files navigation

Leetcode solutions in Python

Language Update Test Cases Progress

Introduction

Solutions for some Leetcode problems in Python3.

problem set Solution Status
Leetcode 50 Common Interview Questions Problem & Solution Completed
Blind 75 Problem & Solution In Progress
Grind 75 Not started
Grind 169 Not started
Neetcode 150 Not started
Leetcode 75 Not started
Leetcode 75 Not started
Top Interview 150 Not started
All above of leetcode problems in python Leetcode Problems In progress
SQL 50 Not started

Environment

This project is coded in:

  • Python 3.11.9
  • Pycharm 2024.1 with codeium and Black formatter plugin

The test cases uses the default pytest framework.

use python -m unittest to run all tests use pytest --cov=solutions tests/ to run test coverage tests. use coverage html to generate code coverage reports in html to htmlcov/index.html.

Code Layout

  • solutions: holds solutions. The code are in the same code format as the leetcode requires, with different method names (follow PEP 8 standard).

  • utils: contains some of the utilities for the Leetcode solutions.

  • tests: contains unit tests.

Update History

About

leetcode problems solved in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages