Question: Which are true of Insertion Sort, using Binary Search instead of Linear Search to find the points of insertion? ( You may select multiple anwsers)

Which are true of Insertion Sort, using Binary Search instead of Linear Search to find the points of insertion? ( You may select multiple anwsers)

a

It uses (n^2) comparisons in the worst case

b

It uses (n log n) comparisons in the average case

c

It uses (n) comparisons in the best case

d

It uses (n^2) movements of elements in the worst case

e

It uses (n log n) movements of elements in the average case

f

It uses (n) movements of elements in the best case

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!