1. Computer Science Engineering (CSE)
  2. Data Structure (DS)
  3. The total number of comparisons in a bub...
Q.

The total number of comparisons in a bubble sort is ….

A. O(n logn)
B. O(2n)
C. O(n2)
D. O(n)
Answer» A. O(n logn)
View all MCQs in:   Data Structure (DS)

Discussion