Page 1 of 1

What is the best case time complexity of comb sort and bubble sort respectively?

Posted: Wed Jul 13, 2022 6:15 pm
by answerhappygod
a) O(n2) and O(n log n)
b) O(n log n) and O(n)
c) O(n) and O(n2)
d) O(n2/2a) (a=number of increment) and O(n2)