Data Structures :: Complexity - Discussion
Home > Data Structures > Complexity > MCQs Questions Discussion
11 / 48
Choose the correct option.
The complexity of Bubble sort algorithm is
AO(n)
BO(log n)
CO(n2)
DO(n log n)
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
STEP-BY-STEP
O(n) is the best case complexity
where as
O(n2) is worst and average case
where as
O(n2) is worst and average case
Read Full Answer
Report Error
Please Login First Click Here