Two Algorithms for Bipartite Graphs | Synapse