LogiQuest
Back to Searching
5

Using binary search (mid = ⌊(low + high)/2⌋) on the sorted array [2, 7, 11, 15, 17, 19, 20, 31], how many comparisons with array elements are needed to find 17?

Medium

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.