Oracle Interview Question

Shortest path and binary search