Welcome to DSA 2026, a repository dedicated to learning and practicing
Data Structures and Algorithms using C++.
This repository contains topic-wise solved problems and implementations
to strengthen DSA fundamentals step by step.
🔗 Repository Link:
👉 https://github.com/tasbihaanwaradil/dsa2026
| Difficulty | Problem | Solution |
|---|---|---|
| Binary to Decimal Conversion | View Solution | |
| Decimal to Binary Conversion | View Solution |
| Difficulty | Problem | Solution |
|---|---|---|
| Linear Search Algorithm | View Solution | |
| Reverse the Array (Two Pointer) | View Solution | |
| Sum of all elements in an array | View Solution | |
| Find largest number in an array | View Solution | |
| Find smallest number in an array | View Solution | |
| Swap maximum and minimum elements | View Solution |
| Difficulty | Problem | Solution |
|---|---|---|
| Maximum Subarray (Brute Force) | View Solution | |
| Maximum Subarray (Kadane’s Algorithm) | View Solution | |
| Pair Sum (Brute Force) | View Solution | |
| Pair Sum (Two Pointer) | View Solution | |
| Print all unique values in an array | View Solution | |
| Majority Element (Brute Force) | View Solution | |
| Majority Element (Sorting) | View Solution | |
| Majority Element (Boyer–Moore Voting) | View Solution | |
| Best Time to Buy & Sell Stock (One Transaction) | View Solution | |
| Container With Most Water (Brute Force) | View Solution | |
| Container With Most Water (Two Pointer) | View Solution | |
| Product of Array Except Self (Brute Force) | View Solution |
| Difficulty | Problem | Solution |
|---|---|---|
| Binary Search Algorithm | View Solution |
| Difficulty | Problem | Solution |
|---|---|---|
| Binary Exponentiation (Iterative) – Compute xⁿ | View Solution |
- Open the repository on GitHub
- Browse the Topics Covered & Problems Solved section
- Click View Solution to jump directly to the code
- Practice, modify, and optimize solutions
Contributions are welcome!
You can:
- Add new DSA problems
- Improve existing solutions
- Add optimized or alternative approaches
Steps:
- Fork the repository
- Make your changes
- Submit a pull request
✅ Tip: Consistent daily practice is the key to mastering DSA.