Title: Sub. Name Sub. Code: Dept
Title: Sub. Name Sub. Code: Dept
General Instructions:
1. Include the problem statement for each experiment clearly.
2. Provide a brief introduction to the algorithm being implemented (e.g., its purpose, time
complexity, and approach).
3. Include the pseudocode or algorithm steps before the actual C code.
4. Add comments in your C code for better understanding.
5. Show sample input and output for each program.
6. Include the time and space complexity analysis for each algorithm.
CHAP TITLE
TER
Programs Concept:
A: Basic Recursion
3. Write a program to implement Merge Sort using Divide and Conquer approach.
:
4. Write a program to implement Quick Sort using Divide and Conquer approach.
5. Write a program to perform Insertion sort for any given list of numbers.
6. Write a program to find the MAX and MIN element from a array of integer.
3. Write a program to find minimum cost spanning tree using Prim’s Algorithm.
4. Write a program to find solution for job sequencing with deadlines problem.
5. Write a program to find the Single source shortest path using Dijkstra’s
Algorithm.
Programming.
D: Concept of Dynamic
4. Write a program to implement all pair of Shortest path problem for a graph using
Floyed- Warshall Algorithm.