Clarifying when to use a binary search