Skip to content
RED SAG Skills
hard20 pts · first answer countssorting-and-searching

Half-open binary search bounds

A lower_bound uses lo = 0, hi = n and while (lo < hi). Which update rules are correct for this half-open range [lo, hi)?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions