Welcome! Here I collect my solutions to problems from LeetCode โ with descriptions, difficulty levels, and approaches to solving them.
Each problem is represented as a separate file and includes:
- ๐ Problem description
- โ๏ธ Difficulty โ
Easy,Medium,Hard - ๐งฎ Solution -
Python,SQL - ๐ Asymptotic complexity โ
Time complexity,Space complexity - ๐ก Additional details โ brief explanation, approach, optimization (multiple solutions from simple to advanced)
In addition, there is a ๐ code_templates folder with reusable patterns for solving common types of problems, such as:
- ๐
binary_search - ๐งฉ
backtracking - ๐ณ
binary_tree - ๐
graph - ...and more
| # | Title | Difficulty | File / Folder |
|---|---|---|---|
| 1 | Two Sum | Easy | 1_two_sum.py |
| 121 | Best Time to Buy and Sell Stock II | Medium | 122 best_time_to_buy_and_sell_stock2.py |
| 502 | IPO | Hard | 502_IPO.py |
๐ Go to profile