Yahoo interview question

Best graph related algorithm in a specific use case.