Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📘 C and C++ Codes — DSA & DAA

A curated collection of C and C++ programs covering core concepts in:

  • Data Structures & Algorithms (DSA)
  • Design & Analysis of Algorithms (DAA)

📁 Repository Structure

C_and_CPP_Codes/
│
├── DSA/
│   ├── Arrays/
│   ├── LinkedList/
│   ├── Stack & Queue/
│   ├── Trees/
│   ├── Graphs/
│   ├── Hashing/
│   └── Sorting & Searching/
│
├── DAA/
│   ├── Divide & Conquer/
│   ├── Greedy Algorithms/
│   ├── Dynamic Programming/
│   ├── Backtracking/
│   └── Branch & Bound/
│
└── Basics/
    ├── Pointers/
    ├── Functions/
    ├── OOP (C++)/
    └── File Handling/

🚀 Topics Covered

🔷 Data Structures & Algorithms (DSA)

Topic Description
Arrays 1D/2D arrays, matrix operations
Linked List Singly, Doubly, Circular
Stack & Queue Array & Linked List implementations
Trees BST, AVL, Heap, Trie
Graphs BFS, DFS, Shortest Path
Sorting Bubble, Merge, Quick, Heap Sort
Searching Linear, Binary Search
Hashing Hash maps, Collision handling

🔶 Design & Analysis of Algorithms (DAA)

Topic Description
Divide & Conquer Merge Sort, Quick Sort, Binary Search
Greedy Kruskal's, Prim's, Dijkstra's
Dynamic Programming Knapsack, LCS, Matrix Chain
Backtracking N-Queens, Sudoku Solver
Branch & Bound TSP, 0/1 Knapsack

🛠️ How to Compile & Run

For C:

gcc filename.c -o output
./output

For C++:

g++ filename.cpp -o output
./output

Requirements: GCC / G++ compiler (MinGW on Windows or GCC on Linux/Mac)


👤 Author

Vansh Agarwal
🔗 GitHub


📄 License

This repository is open-source and available under the MIT License.

About

This repo is with c and cpp codes with DSA AND DAA codes

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages