Top MCQs on CombSort Algorithm with Answers

Last Updated : 11 Mar, 2024

Comb Sort is mainly an improvement over Bubble Sort. Bubble sort always compares adjacent values. So all inversions are removed one by one. Comb Sort improves on Bubble Sort by using gap of size more than 1. The gap starts with a large value and shrinks by a factor of 1.3 in every iteration until it reaches the value 1 … More on Comb Sort

Comb Sort

Comb Sort


Question 1
What is the average case performance for Comb Sort? (Note: 'i' in the options is the number if increments)
Cross
Ω(n2 / i)
Tick
Ω(n2 / 2i)
Cross
Ω(n2 / 4i)
Cross
Ω(n2 / 3i)


There is 1 question to complete.

 

Coding practice for sorting

 


Share your thoughts in the comments

Similar Reads