This GitHub repository contains the complete set of code for the lab work conducted during the Data Analysis and Algorithms (DAA) course in Semester 4.
-
Experiment-1:
- Study the usage of the GNU profiler tool.
- Analyze recursive and iterative solutions for the Fibonacci and Tower of Hanoi problems.
-
Experiment-2:
- Empirically compare algorithms for solving searching problems.
- 2.1 Sequential Search
- 2.2 Binary Search
-
Experiment-3:
- Empirically compare algorithms for solving sorting problems.
- 3.1 Selection Sort
- 3.2 Insertion Sort
-
Experiment-4:
- Empirically compare algorithms for solving sorting problems.
- 4.1 Quick Sort
- 4.2 Merge Sort
-
Experiment-5:
- Solve and compare Prim's and Kruskal's algorithms for finding the minimum spanning tree in a graph.
-
Experiment-6:
- Solve the Graph problem to find the shortest path using the greedy technique - Dijkstra's algorithm.
-
Experiment-7:
- Solve the knapsack problem using dynamic programming technique.
-
Experiment-8:
- Solve the string editing problem using dynamic programming technique.
-
Experiment-9:
- Solve the n-queens problem using backtracking technique.
-
Experiment-10:
- Implement a program for making change using dynamic programming technique.