Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 LeetCode Solutions

Solving LeetCode problems consistently to crack campus placements.

Language Platform Status


πŸ“Š Progress Tracker

Difficulty Solved
🟒 Easy 0
🟑 Medium 0
πŸ”΄ Hard 0
Total 0

Update this table as you solve more problems!


πŸ“ Repository Structure

leetcode-solutions/
β”‚
β”œβ”€β”€ solutions/
β”‚   β”œβ”€β”€ 0001_two_sum.py
β”‚   β”œβ”€β”€ 0003_longest_substring_without_repeating.py
β”‚   β”œβ”€β”€ 0076_minimum_window_substring.py
β”‚   └── ...
β”‚
β”œβ”€β”€ notes/
β”‚   β”œβ”€β”€ sliding_window.md
β”‚   β”œβ”€β”€ two_pointers.md
β”‚   └── ...
β”‚
└── README.md

Each solution file is named: {4-digit-number}_{problem_slug}.py


πŸ—‚οΈ Solutions by Topic

πŸͺŸ Sliding Window

# Problem Difficulty Solution
3 Longest Substring Without Repeating Characters 🟑 Medium solution
76 Minimum Window Substring πŸ”΄ Hard solution
209 Minimum Size Subarray Sum 🟑 Medium solution
239 Sliding Window Maximum πŸ”΄ Hard solution
424 Longest Repeating Character Replacement 🟑 Medium solution
438 Find All Anagrams in a String 🟑 Medium solution
567 Permutation in String 🟑 Medium solution
643 Maximum Average Subarray I 🟒 Easy solution
904 Fruit Into Baskets 🟑 Medium solution
1004 Max Consecutive Ones III 🟑 Medium solution

πŸ”’ Arrays & Hashing

# Problem Difficulty Solution
1 Two Sum 🟒 Easy solution

↔️ Two Pointers

# Problem Difficulty Solution

πŸ” Binary Search

# Problem Difficulty Solution

🌲 Trees

# Problem Difficulty Solution

πŸ”— Linked List

# Problem Difficulty Solution

πŸ“ˆ Dynamic Programming

# Problem Difficulty Solution

πŸ“š Stack / Queue

# Problem Difficulty Solution

🌐 Graphs

# Problem Difficulty Solution

πŸ“ Notes & Patterns

Topic-wise concept notes are in the notes/ folder:

Topic Notes
Sliding Window notes/sliding_window.md

🏷️ Solution File Template

Every solution file follows this format:

"""
Problem: <Name>
LeetCode #: <Number>
Difficulty: Easy / Medium / Hard
Link: https://leetcode.com/problems/<slug>/
Topic: <Topic>

Approach:
    <Brief description of the approach>

Time Complexity:  O(?)
Space Complexity: O(?)
"""

class Solution:
    def methodName(self, ...):
        pass

🎯 Goal

Solve 200+ problems before campus placements covering all core DSA topics.


⭐ Star this repo if you find it helpful!

About

My LeetCode solutions in Python | Campus Placement Prep πŸš€

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages