The number of comparisons required to sort 5 numbers in ascending order using bubble sort is
A. 7
B. 6
C. 10
D. 5
Answer:C
The number of comparisons required to sort 5 numbers in ascending order using bubble sort is
A. 7 B. 6 C. 10 D. 5