This repository contains fully solved Design and Analysis of Algorithms (DAA) lab programs in C language, as per the KIIT University 5th semester syllabus.
Lab | Topic |
---|---|
1 | Arrays, Prefix Sums, Rotations |
2 | Recursion, GCD |
3 | Merge Sort, Quick Sort |
4 | Heap (Min & Max) |
5 | Greedy (Knapsack, Huffman) |
6 | MST β Primβs & Kruskalβs |
7 | Dijkstraβs Shortest Path |
8 | DP β Matrix Chain & LCS |
9 | DP β Floyd-Warshall |
10 | Randomized Quick Sort, Bit Counters |
- π§ Language: C
- π» Compilers: GCC / VS Code
- π File I/O used for some programs
- π§ͺ Suitable for: Lab submissions, Viva, Semester prep
# Compile using gcc
gcc lab3_merge_sort.c -o merge
./merge
π€ Contributions If you want to improve any solution or add optimizations, feel free to fork and raise a pull request!
π§βπ» Author Ankan GitHub: @CodeWithAnkan
π License This repo is free to use under the MIT License. Attribution appreciated π