Skip to content

Latest commit

ย 

History

History
49 lines (36 loc) ยท 1.14 KB

File metadata and controls

49 lines (36 loc) ยท 1.14 KB

๐Ÿ’ป DAA Lab Solutions โ€“ KIIT University

This repository contains fully solved Design and Analysis of Algorithms (DAA) lab programs in C language, as per the KIIT University 5th semester syllabus.


๐Ÿ“š Labs Covered

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 & Tools

  • ๐Ÿง  Language: C
  • ๐Ÿ’ป Compilers: GCC / VS Code
  • ๐Ÿ“ File I/O used for some programs
  • ๐Ÿงช Suitable for: Lab submissions, Viva, Semester prep

๐Ÿš€ How to Run

# 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 ๐Ÿ’™