grapgh binary_search