Advertisements
Advertisements
Question
What is true for bubble sort?
Options
It can detect if the input is already sorted
It saves times
It consumes less memory
It compares adjacent elements
MCQ
Solution
It saves times
Explanation:
Bubble sort is a lengthy algorithm.
shaalaa.com
Bubble Sort
Is there an error in this question or solution?