Insertion Sort
Insertion Sort
Essay
Searching Algorithms are designed to retrieve an element from any data structure
where it is used. These algorithms are generally classified into two categories i.e.
Sequential Search and Interval Search. The worst-case time complexity of
searching algorithm is O(N). And there is no stable and unstable searching
algorithms. While Sorting Algorithm, is used to arranging the data of list or array
into some specific order. There are two different categories in sorting. These are
Internal and External Sorting. The worst-case time complexity of many sorting
algorithms like Bubble Sort, Insertion Sort, Selection Sort, and Quick Sort is O(N 2).
And Bubble Sort, Insertion Sort, Merge Sort etc are the stable sorting algorithms
whereas Quick Sort, Heap Sort etc are the unstable sorting algorithms.
THOUGHTS
Unit 4
THOUGHTS
The tree data structure enables us to write many interesting algorithms. For me, this unit is very
much interesting. I find it easy solving and answering all the learning activity questions. This is a
stress – free unit for me.