| Detail | Information |
|---|---|
| Name | Priyanshu Sharan |
| USN | 1WA24CS223 |
| Department | Computer Science and Engineering |
| College | BMS College of Engineering |
| Detail | Information |
|---|---|
| Faculty Name | Tr. Amrutha Varshini |
| Course | Design and Analysis of Algorithms (DAA) |
| College | BMSCE |
This repository contains all the ADA Laboratory Programs implemented in C Programming Language as part of the Analysis and Design of Algorithms Laboratory course at BMS College of Engineering.
The programs are implemented according to the VTU/BMSCE syllabus and include:
- Sorting Algorithms
- Greedy Algorithms
- Dynamic Programming
- Graph Algorithms
- Backtracking Algorithms
- Divide and Conquer Techniques
- Merge Sort
- Quick Sort
- Heap Sort
- Prim's Algorithm
- Kruskal's Algorithm
- Dijkstra's Algorithm
- Fractional Knapsack
- 0/1 Knapsack
- Floyd Warshall Algorithm
- N-Queens Problem
- Johnson-Trotter Algorithm
- Topological Sort
| Sl No | Program Name | File Name |
|---|---|---|
| 1 | Merge Sort | merge-sort.c |
| 2 | Quick Sort | quick-sort.c |
| 3 | Heap Sort | heap-sort.c |
| 4 | Prim's Algorithm | prims-algorithm.c |
| 5 | Kruskal's Algorithm | kruskals-algorithm.c |
| 6 | Dijkstra's Algorithm | dijkstra-shortest-path.c |
| 7 | Floyd Warshall Algorithm | floyd-warshall-algorithm.c |
| 8 | Fractional Knapsack | fractional-knapsack.c |
| 9 | 0/1 Knapsack using DP | 0-1-knapsack-using-dynamic-programming.c |
| 10 | Topological Sort | topological-sort-algorithm.c |
| 11 | Johnson-Trotter Algorithm | johnson-trotter-algorithm.c |
| 12 | N-Queens using Backtracking | n-queens-problem-using-backtracking.c |
gcc filename.c -o output./outputoutput.exe- Programming Language: C
- Compiler: GCC
- IDE: Visual Studio Code
- Version Control: Git & GitHub
- Learn algorithm design techniques
- Implement algorithms using C
- Understand time and space complexity
- Practice problem solving
- Prepare for lab exams and viva
- Asymptotic Analysis
- Divide and Conquer
- Greedy Method
- Dynamic Programming
- Graph Algorithms
- Backtracking
- NP-Completeness