Welcome to my LeetCode repository! This project contains my personal solutions to a wide range of LeetCode problems, as well as implementations of classic algorithms and data structures. The goal is to provide clear, well-commented, and efficient code for learning, reference, and interview preparation.
leetcode/
├── Solutions/ # Python solutions to individual LeetCode problems
├── Algorithms/ # Classic algorithms
└── Data Structures/ # Implementations of common data structures
- Solutions: Contains over 700+ Python scripts, each solving a specific LeetCode problem. File names correspond to problem names for easy searching.
- Algorithms: Contains Python implementation of classic algorithms.
- Data Structures: Contains Python implementations of fundamental data structures such as linked lists, trees, stacks, queues, and more.
- LeetCode Problems Solved: 700+ (and growing!)
- Algorithms Implemented: 20+ (including Dijkstra, heapify, min cuts, etc.)
- Data Structures Implemented: 20+ (linked lists, trees, stacks, queues, etc.)
- Language: Python 3
- Well-commented and readable code
- Multiple approaches for some problems (brute force, optimized, etc.)
- Use of Pythonic idioms and best practices
- Some files include explanations and time/space complexity analysis
- Browse by Problem: Go to the
Solutions/folder and search for the problem by name. - Explore Algorithms: Visit the
Algorithms/folder for classic algorithm implementations. - Study Data Structures: Check out the
Data Structures/folder for reusable data structure code.
While this repository is primarily for my personal learning, contributions are welcome! If you spot a bug, have a more efficient solution, or want to add explanations, feel free to open a pull request or issue.
If you find this repository helpful, please consider starring it and following me on GitHub for more updates and solutions!
Happy Coding & Good Luck with Your Interviews!