Skip to content

mpanaryin/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

167 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  LeetCode Solutions

Welcome! Here I collect my solutions to problems from LeetCode โ€” with descriptions, difficulty levels, and approaches to solving them.

๐Ÿ“Œ Structure

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

๐Ÿ“‚ Examples

# 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

๐Ÿ”— My LeetCode Profile

๐Ÿ‘‰ Go to profile


About

Leetcode problems

Topics

Resources

Stars

Watchers

Forks

Contributors