Welcome to my LeetCode Solutions repository! Here, you'll find a collection of my solutions to various LeetCode problems. As an avid competitive coder, I’ve tackled problems across multiple domains, including algorithms, data structures, and system design, with a focus on writing efficient and clean code.
- Optimized Solutions: Each problem's solution is crafted to be as efficient as possible, with attention to time and space complexity.
- Detailed Explanations: Many solutions come with explanations, helping to understand the thought process behind the approach and the algorithm used.
- Wide Range of Topics: The problems span a variety of categories, such as arrays, strings, dynamic programming, trees, graphs, and more.
- Each problem is stored in its own file, typically named according to the problem number and title (e.g.,
two_sum.cpp
orlongest_substring.java
). - If a solution involves multiple approaches, the file will include all possible solutions, allowing for easy comparisons.
- I try to include time and space complexity analysis in each solution for clarity and learning purposes.
- Learning Resource: Whether you're a beginner or an experienced coder, these solutions can serve as a learning tool to improve your problem-solving skills.
- Efficient Coding: I prioritize creating solutions that balance readability, maintainability, and performance.
- Competitive Programming: This repo also reflects my journey as a competitive coder, showcasing my growth and the optimization techniques I’ve learned over time.
Feel free to explore, contribute, or even suggest improvements!