Skip to content

kobukuro/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

678 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Python Solutions

A collection of LeetCode problem solutions implemented in Python with detailed complexity analysis and test coverage.

Features

  • Python Solutions: All solutions written in Python 3
  • Testing: pytest test coverage for all solutions
  • Complexity Analysis: Detailed time and space complexity documentation for each solution
  • Organized Structure: Problems organized by difficulty level (Easy, Medium, Hard)

Migration Status

🔄 Currently migrating from old structure to new directory structure

This project is being reorganized.

  • ✅ Migrated problems in problems/ directory
  • ⏳ Legacy problems still being migrated

Project Structure

leetcode/
├── problems/
│   ├── easy/       # Easy difficulty problems
│   ├── medium/     # Medium difficulty problems
│   └── hard/       # Hard difficulty problems
├── docs/           # Detailed problem lists by difficulty
├── tests/          # Test utilities and fixtures
└── utils/          # Shared utilities and helpers

Each problem follows this structure:

{difficulty}/{problem-name}_{number}/
├── solution.py         # Solution implementation
├── test_solution.py    # Test cases
└── __init__.py         # Package initialization

Solutions

📊 Statistics: 85 problems solved (migrated to new structure)

Difficulty Count
Easy 60
Medium 24
Hard 1

Browse by Difficulty

Author

Peter Chen

About

A collection of LeetCode problem solutions implemented in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages