edge case of binary search in a vector
edge cases for matrix
sol of q074