🧠 LeetCode Top 150 – Problem Solving
This repository contains my solutions and detailed explanations for the problems listed in the LeetCode Top 150 Interview Questions set.
Each solution includes the code, approach, and time/space complexity analysis. It also includes the initial approaches and how I went on to optimise the solution.
📌 About LeetCode Top 150
LeetCode's "Top 150" is a curated list of must-know problems frequently asked in technical interviews at top tech companies. It covers a mix of:
- Arrays & Hashing
- Two Pointers
- Sliding Window
- Stack
- Binary Search
- Linked Lists
- Trees
- Backtracking
- Dynamic Programming
- Graphs and more
✍️ Approach Format
Each problem may include:
- 🔗 Problem Link
- 🧠 Intuition/Approach
- ⏱️ Time & Space Complexity
- ✅ Optimized solution
🚀 How to Use
- Browse by problem name or leetcode problem number
- Open
.cpp
files for code - Check problem-wise
README.md
(if available) for explanations
🛠️ Languag Used - C++
💼 Why This Repo?
This helps me:
- Stay consistent with DSA and build a habit
- Build an interview-ready portfolio
- Revisit tough problems with better clarity and imprint the approach in my mind
📫 Contact