CS3311-Data Structures Model Lab QP Print (Set-1)
CS3311-Data Structures Model Lab QP Print (Set-1)
6. Find the shortest paths from the source to all vertices in the given graph using
Dijkstra’s algorithm.
10. Write a C programs for implementing the following sorting methods to arrange a
list of integers in ascending order:
a) Insertion sort b) Merge sort
11. Consider an array of size 7 with elements 13, 9, 21, 15, 39, 19, and 27 and find the
element 39 in the list by implementing linear search algorithm in C language.
12. Substantiate the importance of MAX Heap in insertion and deletion by
programming using C
14. Consider an array of size 7 with elements 13, 9, 21, 15, 39, 19, and 27 and find the
element 39 in the list by implementing linear search algorithm in C language
15. Write a C program to sort the given unsorted array of elements using insertion
sort {13,32,26,9,35,18}
17. Write a C program to find Maximum and minimum of element in max heap tree.