KnowledgeBoat Logo

Computer Science

Discuss Bubble sort and Insertion sort techniques.

Python Data Handling

8 Likes

Answer

Bubble Sort :
In Bubble sort, the adjoining values are compared and exchanged if they are not in proper order. This process is repeated until the entire array is sorted.

Insertion Sort :
Insertion sort is a sorting algorithm that builds a sorted list one element at a time from the unsorted list by inserting the element at its correct position in sorted list.

Answered By

5 Likes


Related Questions