Data Structures and Algorithms - CSE 102 Program List: Week 1
Data Structures and Algorithms - CSE 102 Program List: Week 1
WEEK 1
1. Write a program to delete and insert elements into array and adjust the free spaces. Compare the time taken for various set of inputs. 2. Write program to simulate the indexing formula for : 1D array, 2D array and lower triangular matrix. 3. Form a software package of these sorting algorithms: Bubble sort, selection sort, insertion sort, quick sort, merge sort. Find out the time complexities for Best case, average case and worst case of each algorithm practically and theoretically. Then Compare the time complexities for Best case, average case and worst case(same set of inputs) among all the sorting algorithms and find the one which takes max and min time for sorting. 4. Sort n sentences in lexicographical order. 5. Write program to simulate (graphically) the insertion (front, rear and any position), deletion (front, rear and any position) and display of singly linked list.