✨ Solving 1 DSA problem every day in both C++ and JavaScript, focused on helping frontend developers strengthen their core programming and problem-solving skills.
DailyDevDSA is a personal + community-driven initiative to solve one Data Structures & Algorithms question every day in two languages:
- 💻 C++ (for speed, interviews, and strong foundational concepts)
- 🌐 JavaScript (for frontend devs and web-related roles)
Each solution includes:
- ✅ Clean, commented code
- ✅ Problem description & explanation
- ✅ Time and space complexity analysis
Beginner's Note: Multiple approaches might have the same function name. If you run the entire code at once, it may throw an error. Please run one function at a time and comment out the others.
- Improve algorithmic thinking 📈
- Build a consistent daily habit 🧠
- Support frontend engineers in becoming stronger developers 🔥
- Create a high-quality reference in both C++ and JS 🚀
DailyDevDSA/
│
├── Day01/
│ ├── problem.md
│ ├── solution.cpp
│ └── solution.js
│
├── Day02/
│ ├── ...
│
└── README.md
Each day has its own folder containing:
- 📄
problem.md
: Problem statement and approach - 💻
solution.cpp
: C++ solution - 🌐
solution.js
: JavaScript solution
Day | Problem | C++ | JS |
---|---|---|---|
✅ 1 | Check if an Array is Sorted and Rotated | ✅ | ✅ |
✅ 2 | Merge two sorted arrays | ✅ | ✅ |
✅ 3 | Rotate an Array by d in counter clock-wise |
✅ | ✅ |
✅ = Completed, ⏳ = In Progress
- Arrays
Want to help grow this project?
- Fork this repo
- Pick a missing day or suggest a new DSA problem
- Submit clean C++ or JS code with comments
- Open a Pull Request 🚀
- Keep filenames consistent:
solution.cpp
andsolution.js
- Add a brief explanation in
problem.md
- Follow the existing folder structure
- Keep code readable and beginner-friendly
If you find this repo helpful:
- Star it ⭐
- Share it 💬
- Contribute 🤝
- Follow me for more 💻
- GitHub: @mohdahsanrazakhan
- LinkedIn: Mohd Ahsan Raza Khan
This project is licensed under the MIT License.
Have questions or suggestions? Open an issue or start a discussion!
Made with ❤️ for frontend devs who want to master DSA.