leetcode mincuts