Which of the following sorting algorithm requires the use of binary search in their implementation?

Ngân Lam

New member
Which of the following sorting algorithm requires the use of binary search in their implementation?
A. radix sort
B. library sort
C. odd-even sort
D. bead sort
 
Answer: b
Explanation: Library sort makes use of a binary search algorithm. It is used to find the correct index in the array where the element should be inserted. Then after the insertion of the element re-balancing of the array takes place.
 

Tìm kiếm

Back
Top