You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
π§ Algorithms Implemented
πΉ Divide and Conquer
Merge Sort
Quick Sort
πΉ Transform and Conquer
Heap Sort
πΉ Greedy Algorithms
Prim's Algorithm
Kruskal's Algorithm
Dijkstra's Algorithm
Fractional Knapsack
πΉ Dynamic Programming
0/1 Knapsack
Floyd Warshall Algorithm
πΉ Backtracking
N-Queens Problem
Johnson-Trotter Algorithm
πΉ Graph Algorithms
Topological Sort
π Program List
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
βοΈ How to Run
β Compile the Program
gcc filename.c -o output
βΆοΈ Execute the Program
Linux / MacOS
./output
Windows
output.exe
π οΈ Technologies Used
Programming Language: C
Compiler: GCC
IDE: Visual Studio Code
Version Control: Git & GitHub
π― Repository Objectives
Learn algorithm design techniques
Implement algorithms using C
Understand time and space complexity
Practice problem solving
Prepare for lab exams and viva
π Course Topics Covered
Asymptotic Analysis
Divide and Conquer
Greedy Method
Dynamic Programming
Graph Algorithms
Backtracking
NP-Completeness
β Thank You β
Created by
Priyanshu Sharan
USN: 1WA24CS223
BMS College of Engineering, Bengaluru
About
π» Analysis and Design of Algorithms (ADA) laboratory programs implemented in C for BMSCE CSE coursework.