Update graph/hopcroft_karp.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Krishna Pal Deora
2020-10-01 05:48:34 +05:30
committed by GitHub
parent ef72195d0c
commit f1f3df36e0

View File

@@ -5,7 +5,7 @@
* The HopcroftKarp algorithm is an algorithm that takes as input a bipartite graph
* and produces as output a maximum cardinality matching, it runs in O(E√V) time in worst case.
*
* ###Bipartite graph :
* ### Bipartite graph
* A bipartite graph (or bigraph) is a graph whose vertices can be divided into two disjoint
* and independent sets U and V such that every edge connects a vertex in U to one in V.
* Vertex sets U and V are usually called the parts of the graph.