Skip to content
RED SAGSkills
medium10 pts · first answer countssorting-and-searching

Binary search a fully sorted matrix

A 3 x 4 matrix is sorted so that each row continues from where the last row ended. You binary search it as one flat array of 12 items. Which cell holds flat index 7?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions