Yahoo Interview Question

Best graph related algorithm in a specific use case.