This repository contains my solutions to various LeetCode problems, organized by categories and topics.
- Practice algorithms and data structures
- Improve problem-solving skills
- Track progress on LeetCode problems
- Build a comprehensive reference for coding interviews
- Python3 (Primary) - Algorithm problems
- SQL - Database problems
problem_list/
- Individual problems organized by problem numberleetcode_75/
- LeetCode Top Interview 75 questions organized by topic.- Array / String
- Two Pointers
- Sliding Window
- Prefix Sum
- Hash Map / Set
- Stack
- Queue
- Linked List
- Binary Tree - DFS
- Binary Tree - BFS
- Binary Search Tree
- Graphs - DFS
- Graphs - BFS
- Heap / Priority Queue
- Binary Search
- Backtracking
- DP - 1D
- DP - Multidimensional
- Bit Manipulation
- Trie
- Intervals
- Monotonic Stack
top_interview_150/
- LeetCode Top Interview 150 questions organized by topic.- Array / String
- Two Pointers
- Sliding Window
- Matrix
- Hashmap
- Intervals
- Stack
- Linked List
- Binary Tree General
- Binary Tree BFS
- Binary Search Tree
- Graph General
- Graph BFS
- Trie
- Backtracking
- Divide & Conquer
- Kadane's Algorithm
- Binary Search
- Heap
- Bit Manipulation
- Math
- 1D DP
- Multidimensional DP
sql/
- Database problems categorized by difficulty and topic.- Select - Basic SELECT queries
- Basic Joins - JOIN operations
- Advanced Select and Joins - Complex JOIN scenarios
- Basic Aggregate Functions - COUNT, SUM, AVG, etc.
- Sorting and Grouping - ORDER BY, GROUP BY, HAVING
- Subqueries - Nested queries and complex analysis
- Advanced String Functions & Regex - Text processing
- Algorithm Practice: Browse
problem_list/
for individual problems ortop_interview_150/
by topic - SQL Practice: Explore
sql/
directory organized by SQL concepts
- Each directory contains problems of mixed difficulties
- Problem numbers indicate original LeetCode problem IDs
- Each problem includes:
- Solution code with detailed comments
- Problem statement and examples
- README.md with explanation (for complex problems)
- Python 3.x with virtual environment (
.venv/
) - SQL solutions tested on MySQL/PostgreSQL
- VS Code configuration included (
.vscode/
)
💡 Feel free to explore and learn from these solutions!
📝 Note: Solutions include detailed explanations and multiple approaches where applicable.