Skip to content

Comprehensive C++ Data Structures & Algorithms practice repository with problem solutions, templates, and DSA patterns for interview preparation.

Notifications You must be signed in to change notification settings

modiraunak/cpp-dsa-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ DSA Practice 💻

A curated collection of C++ Data Structures & Algorithms (DSA) implementations and practice programs designed for learning, interview preparation, and strengthening problem-solving fundamentals.


🚀 Overview

This repository contains implementations of core DSA concepts in C++, including arrays, searching, sorting, recursion, linked lists, stacks, queues, and more. Each program is written with clarity and can be used as a reference for interview preparation and software engineering fundamentals.


📚 What’s Inside

🔹 Arrays

  • Basic operations
  • Traversal and manipulation

🔹 Searching

  • Linear Search
  • Binary Search

🔹 Sorting Algorithms

  • Bubble Sort
  • Selection Sort
  • Insertion Sort
  • Merge Sort
  • Quick Sort

🔹 Recursion

  • Fibonacci series
  • Factorial
  • Recursive patterns

🔹 Linked Lists

  • Singly Linked List
  • Insert, Delete, Display

🔹 Stacks & Queues

  • Stack using arrays & linked list
  • Queue implementations

🔹 Other Algorithms

  • Pattern printing
  • Miscellaneous DSA problems

🛠️ Tech Used

Category Tools & Languages
Language C++
Concepts Data Structures, Algorithms
Build Tools g++, Make/CMake (optional)

📌 How to Compile & Run

Each program is standalone and can be compiled using a standard C++ compiler (g++):

# Example: compile and run any file
g++ filename.cpp -o output
./output

About

Comprehensive C++ Data Structures & Algorithms practice repository with problem solutions, templates, and DSA patterns for interview preparation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages