N Nam Phong New member Sep 16, 2021 #1 What is the average case complexity of bubble sort? A. O(nlogn) B. O(logn) C. O D. O(n$^{2}$)
L Lan Anh New member Sep 16, 2021 #2 Answer: D Explanation: Bubble sort works by starting from the first element and swapping the elements if required in each iteration even in the average case. Upvote 0 Downvote
Answer: D Explanation: Bubble sort works by starting from the first element and swapping the elements if required in each iteration even in the average case.