Can anyone help me to understand the logic behind this problem.Thanks https://www.hackerearth.com/practice/algorithms/graphs/min-cut/practice-problems/algorithm/mancunian-the-confectioner/editorial/
Can anyone help me to understand the logic behind this problem.Thanks https://www.hackerearth.com/practice/algorithms/graphs/min-cut/practice-problems/algorithm/mancunian-the-confectioner/editorial/