Fall 22 Flashcards
Which algorithm is used to find the augmenting path in Edmonds-Karl
BFS
Which algorithm can be used to find the maximum matching of a bipartite graph
Network flow
Which algorithm can be used to identify the connected components of an unweighted, undirected graph in O(V+E) time
BFS or DFS
Which algorithm is used when you are processing the sorted edges in Kruskal’s algorithm
Disjoint sets
I have a network of pipes that connect junctions. Each pipe has a length and a diameter. In my control center, I can turn pipes on and off. I am at junction A, and I have been given a chemical that will improve the longevity of each junction. I want to deliver the chemical to each junction. The problem is that the chemical corroded the pipes, so I want to minimize the inner surface area of pipes that the chemical touches. What algorithm should I use?
Minimum spanning tree of a weighted graph
Which algorithm can be used to find the minimum cut of a weighted graph?
Network flow
You have:
FBRRBABABBB
What is the pivot using median of 3
B