I always have used an augmenting recursive algorithm for finding maximum bipartite matching but I have recently figure it out that sometimes it is not fast enoght. Can anyone sugest and explain what algorithm should I use in order to increase performance when solving this classical problem.
Thanks in advance.
Matching on Bipartite Graph, the faster algorithm.
Forum rules
Remember that you may not post the AC solution to any of the problems on the COJ. Only code pertaining to a general algorithm will be allowed.
Posting AC solutions will be penalized.
Remember that you may not post the AC solution to any of the problems on the COJ. Only code pertaining to a general algorithm will be allowed.
Posting AC solutions will be penalized.
- ymondelo20
- Posts: 1968
- Joined: 9 years ago
- Location: Universidad de las Ciencias Informáticas
- Gender:

- Contact:
Re: Matching on Bipartite Graph, the faster algorithm.
Just figure out the problem like a maximum flow problem. In almost all cases it´s possible to apply that.
"Every problem has a simple, fast and wrong solution" OJ's Main Law. 