2134. Minimum Swaps to Group All 1's Together II - Explanation

Problem Link