3 ms·
It doesn't seem possible to determine if the predicate is monotonic without doing a full scan, thus not being a binary search.
by edflsafoiewq 2y ago
It doesn't seem possible to determine if the predicate is monotonic without doing a full scan, thus not being a binary search.