Welcome to the DSA Practice Hub – a comprehensive repository to learn and implement Data Structures and Algorithms using C++ and Python. Whether you're preparing for coding interviews or just getting started, this repo provides structured learning, curated problems, and clean implementations.
📁 DSA
│── 📁 CPP # DSA solutions in C++
│── 📁 Python # DSA solutions in Python
│── 📁 Notes # Conceptual explanations and strategies
│── 📁 Basic_Maths # Number theory, GCD/LCM, etc.
│── 📁 Arrays # Array problems
│── 📁 Sorting # Sorting algorithms
│── 📁 Binary_Search # Binary search problems and patterns
│── 📁 Hashing # Hash tables, maps, frequency
│── 📁 Recursion # Recursion and backtracking
│── 📁 Strings # String manipulation problems
│── 📄 README.md
Each topic folder contains:
- ✅ Concepts & Notes
- ✅ Code Implementations (C++)
- ✅ Practice Problems from LeetCode, GFG, Codeforces, etc.
Follow this roadmap if you're learning DSA step by step:
- ✅ Arrays & Strings
- ✅ Sorting & Searching Algorithms
- ✅ Recursion & Backtracking
- ✅ Hashing & Hashmaps
- ✅ Two Pointers / Sliding Window
- ✅ Bit Manipulation
- ✅ Stack, Queue, Linked List
- ✅ Trees & Binary Trees
- ✅ Graph Algorithms (BFS, DFS, Dijkstra’s, Union-Find)
- ✅ Dynamic Programming
- ✅ Advanced Topics (Trie, Segment Tree, Fenwick Tree)
-
Clone the repo
git clone https://github.com/krishnakamalbaishnab/Data-Structures-and-Algorithms.git cd Data-Structures-and-Algorithms -
Browse topics Navigate to any folder (
Arrays,Graphs, etc.) and run the code using your preferred compiler or interpreter.
- Abdul Bari - YouTube
- Striver's SDE Sheet
- GeeksforGeeks DSA Guide
- LeetCode
- Codeforces
- AlgoMaster Patterns
We welcome contributions! If you’d like to add new problems, improve existing code, or write notes:
- Fork the repo
- Create a branch:
feature/your-feature-name - Add your code under the correct folder (e.g.,
Arrays/) - Use meaningful filenames:
two_sum.py/reverse_array.cpp - Comment your code with explanations
- Submit a Pull Request 🚀
See CONTRIBUTING.md for full details.
This project is licensed under the MIT License.
This repository aims to be a collaborative and evolving DSA resource for all learners. Add your ideas, raise issues, and help others grow.
Let’s master DSA together 💪
Happy Coding! 🚀
— Krishna Kamal Baishnab