Minimum Swaps to Group All 1's Together(LeetCode 1151):

Problem