Đặng Thị Mỹ Linh
New member
What is the best case time complexity of comb sort and bubble sort respectively?
A. O(n$^{2}$) and O(n log n)
B. O(n log n) and O
C. O
and O(n$^{2}$)
D. O(n$^{2}$/2$^{a}$) (a=number of increment) and O(n$^{2}$)
A. O(n$^{2}$) and O(n log n)
B. O(n log n) and O
C. O
D. O(n$^{2}$/2$^{a}$) (a=number of increment) and O(n$^{2}$)