This repository contains @atreish and my solutions for various problems on Leetcode.com, implemented in Python. The solutions are organized by topic, difficulty level, and problem type.
- The solutions are organized by topic and difficulty level.
- Each problem is stored in a subdirectory with the problem number.
- In each subdirectory, there is a file called
problem.md
that contains the problem statement and asolution.ipynb
file that contains the solution.
.
├── problems&Solutions
│ ├── Difficulty_Easy
│ │ ├── Prob_001_XXXXX
│ │ │ ├──problem.md
│ │ │ └──solution.{language extension}
│ │ └── ...
│ ├── Difficulty_Medium
│ │ ├── Prob_002_XXXXX
│ │ │ ├──problem.md
│ │ │ └──solution.{language extension}
│ │ ├── Prob_003_XXXXX
│ │ │ ├──problem.md
│ │ │ └──solution.{language extension}
│ │ └── ...
│ └── Difficulty_Hard
│ │ ├── Prob_004_XXXXX
│ │ │ ├──problem.md
│ │ │ └──solution.{language extension}
│ │ └── ...
└── README.md
- Before looking at the solutions, make sure to try solving the problem yourself.
- The solutions provided here may not be the most efficient or optimal.
- Feel free to use the solutions as a reference and to learn from them.