Hi everyone👋. I hope this repo helps you. This repo contains my DSA learnings—mostly LeetCode solution code with explanations. If you want more details on specific concepts, visit my blog where I write daily about DSA topics. Check it out here 👉 click here
An array is a collection of elements of the same data type stored in contiguous memory locations. Read more Also you can watch my youtube video for further clarification: video explanation
- Build Array from Permutation
- Concatenation of Array
- Running Sum of 1d Array
- Range Sum Query - Immutable
- Range Sum Query 2D - Immutable
- Number of Good Pairs
- Shuffle the Array
- Check IF N and It's Double Exists
- Search Insert Position
For a comprehensive list of array problems organized by difficulty and concepts, check out: Arrays LeetCode Problems List
- 3. Longest Substring Without Repeating Characters - Medium
- 125. Valid Palindrome - Easy
- 242. Valid Anagram - Easy
- 344. Reverse String - Easy
- 387. First Unique Character in a String - Easy
- 1112. Find Words That Can Be Formed by Characters - Easy
- 53. Maximum Subarray - Easy
- 152. Maximum Product Subarray - Medium
- 202. Happy Number - Easy
- 643. Maximum Average Subarray I - Easy
- 1205. Defanging an IP Address - Easy
- 1651. Shuffle String - Easy
- 1797. Goal Parser Interpretation - Easy
- 2219. Maximum Number of Words Found in Sentences - Easy
- 383. Ransom Note - Easy
- My Daily Learnings - PDF resources for daily DSA learning
- Images - Visual aids and diagrams
Contributions are welcome! If you'd like to contribute:
- Fork the repository
- Create a feature branch (
git checkout -b feature/NewSolution) - Commit your changes (
git commit -m 'Add new solution') - Push to the branch (
git push origin feature/NewSolution) - Open a Pull Request
Contribution Ideas:
- Add solutions in other programming languages
- Improve explanations or add diagrams
- Fix bugs or optimize existing solutions
- Add new problems and solutions
If you find this repository helpful:
- Give it a ⭐️ star
- Share it with others learning DSA
- Follow for more updates
- 📝 Blog: kabileshwarankabil.github.io
This project is open source and available under the MIT License.