Professional Documents
Culture Documents
DSA Assignment - 1
DSA Assignment - 1
3) Why do we use asymptotic notations in the study of algorithms? Briefly describe the commonly
used asymptotic notations.
6) Write an algorithm for Insertion sort method. Explain each step with an example.
7) Sort the following values using Bubble Sort. Give the result after pass-3.
80 60 90 50 40 30 10 100 20 10
8) Sort the following values using Quick Sort and Heap Sort. (Show the step-by-step process)
10 80 30 90 40 50 70