adspace


Explain bubble sorting.

Answer Posted / Anjali Chaudhary

"Bubble sort is a simple sorting algorithm that repeatedly compares adjacent elements and swaps them if they are in the wrong order. The process continues until the entire list is sorted or no more swaps are needed. It has a worst-case and average time complexity of O(n^2) but requires constant space"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1165


daily Routine of father

1485


Can union be self referenced?

1268


What character terminates all character array strings a) b) . c) END

1397


What is the latest version on c++?

1209