Meta interview question

random indexing using binary search, 2d matrix searching path using bfs.