Java implementation for Minimum number of flips required in a binary string such that all the 1 aTMs are together
import java . io . * ; import java . util . * ; class GFG { static int minFlip ( String a ) {