https://github.com/chmodshubham/daa-practicals
College DAA Practicals
https://github.com/chmodshubham/daa-practicals
college daa practicals
Last synced: 9 months ago
JSON representation
College DAA Practicals
- Host: GitHub
- URL: https://github.com/chmodshubham/daa-practicals
- Owner: chmodshubham
- Created: 2023-05-06T18:03:52.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T18:06:27.000Z (about 3 years ago)
- Last Synced: 2024-04-16T04:13:10.294Z (about 2 years ago)
- Topics: college, daa, practicals
- Language: C++
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Design-and-Analysis-of-Algorithms-Practicals
Practical Solutions for Design and Analysis of Algorithnms
1. a)Implement Insertion Sort (The program should report the number of comparisons)
b)Implement Merge Sort(The program should report the number of comparisons)
2. Implement Heap Sort (The program should report the number of comparisons)
3. Implement Randomized Quick sort (The program should report the number of comparisons)
4. Implement Radix Sort
5. Create a Red-Black Tree and perform following operations on it: i. Insert a node ii. Delete a
node iii. Search for a number & also report the color of the node containing this number.
6. Write a program to determine the LCS of two given sequences
7. Implement Breadth-First Search in a graph
8. Implement Depth-First Search in a graph
9. Write a program to determine the minimum spanning tree of a graph
For the algorithms at S.No 1 to 3 test run the algorithm on 100 different inputs of sizes varying
from 30 to 1000. Count the number of comparisons and draw the graph. Compare it with a graph
of nlogn.