Skip to content

tasbihaanwaradil/dsa2026

Repository files navigation

📘 DSA 2026 – Data Structures & Algorithms (C++)

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


📚 Topics Covered & Problems Solved


🔢 Binary Number System

Difficulty Problem Solution
Basic Binary to Decimal Conversion View Solution
Basic Decimal to Binary Conversion View Solution

📦 Arrays

🟢 Basic

Difficulty Problem Solution
Basic Linear Search Algorithm View Solution
Basic Reverse the Array (Two Pointer) View Solution
Basic Sum of all elements in an array View Solution
Basic Find largest number in an array View Solution
Basic Find smallest number in an array View Solution
Basic Swap maximum and minimum elements View Solution

🟡 Medium

Difficulty Problem Solution
Medium Maximum Subarray (Brute Force) View Solution
Medium Maximum Subarray (Kadane’s Algorithm) View Solution
Medium Pair Sum (Brute Force) View Solution
Medium Pair Sum (Two Pointer) View Solution
Medium Print all unique values in an array View Solution
Medium Majority Element (Brute Force) View Solution
Medium Majority Element (Sorting) View Solution
Medium Majority Element (Boyer–Moore Voting) View Solution
Medium Best Time to Buy & Sell Stock (One Transaction) View Solution
Medium Container With Most Water (Brute Force) View Solution
Medium Container With Most Water (Two Pointer) View Solution
Medium Product of Array Except Self (Brute Force) View Solution

🔍 Searching Algorithms

Difficulty Problem Solution
Basic Binary Search Algorithm View Solution

🧮 Maths

Difficulty Problem Solution
Medium Binary Exponentiation (Iterative) – Compute xⁿ View Solution

🚀 How to Use This Repository

  1. Open the repository on GitHub
  2. Browse the Topics Covered & Problems Solved section
  3. Click View Solution to jump directly to the code
  4. Practice, modify, and optimize solutions

🤝 Contributing

Contributions are welcome!

You can:

  • Add new DSA problems
  • Improve existing solutions
  • Add optimized or alternative approaches

Steps:

  1. Fork the repository
  2. Make your changes
  3. Submit a pull request

Tip: Consistent daily practice is the key to mastering DSA.

About

This repository contains my daily Data Structures and Algorithms (DSA) practice code written in C++. I am using this space to track my learning progress and improve my problem-solving skills.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages