Count and sort

Report a typo

An array of integers is given:

[1, 2, 3, 5, 7, 8, 9, 10]

Arrange the elements in increasing order of the number of steps required to find each element using binary search.

Put the items in the correct order
2
10
5
7
___

Create a free account to access the full topic