The given array is arr={7,4,5,8,1,2}. The number of iterations required to sort the array using comb sort and bubble sort respectively will be _______
(a) 7 and 8
(b) 5 and 6
(c) 5 and 5
(d) 4 and 5
I got this question in an interview for internship.
The above asked question is from Sorting in portion Sorting of Data Structures & Algorithms II