Bluecore interview question

The technical question was basically a leetcode medium binary search question