DATA STRUCTURE LAB PROGRAMS
2) Write recursive Python programs for the following
i) Factorial of a given number
4)Write a Python program that use both recursive and non-recursive functions to perform binary search
5) Write a Python program to implement Bubble sort.
6) Write a Python program to implement Insertion sort
7) Write a Python program to implement Selection sort.
8) Write a Python program to implement Quick sort.
9) Write a Python program to implement Merge sort.
10) Write a Python program to implement Heap sort.
11) Write a Python program to implement Stack operations using arrays
12) Write a Python program to implement Queue operation using arrays.
13)Write a Python program to convert infix expression into postfix expression using Stack.
14) Write a Python program to implement Stack operation using Linked list.
15) Write a Python program to implement Queue operations using Linked lists.
16) Write a Python program to implement the following operations on a singly linked using functions
17)Write a Python program to store a polynomial expression in memory using linked list
18)Write a Python program to representation the given sparse matrix using arrays.
21)Write a Python program to compute the shortest path of a graph using Dijkstra’s algorithm
22)Write a Python program to find the minimum spanning tree using Krushkall’s Algorithm.