Q. Discuss Bubble sort and Insertion sort techniques.


Answer =

Bubble sort:-
The basic idea of bubble sort is to compare two adjoining values and exchange them if they are not in proper order .

Insertion sort :-
Each successive element is picked and inserted at an appropriate position in the previously sorted array.

8 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post