Daily LeetCode #5
https://leetcode.com/problems/separate-black-and-white-balls/?envType=daily-question&envId=2024-10-15 To put all zeros onto left and all ones onto right, we need to swap 0 and 1 under the condition that 1 is to the left of 0. My idea is to use 2 pointers, one starts from left