You are given a $0$ indexed binary string s of length n, where '$1$' represents a black ball and '$0$' represents a white ball.
In each step, you may choose two adjacent balls and swap them.
Return the minimum number of steps required to group all the black balls to the right and all the white balls to the left.
Constraints:
n s.length
s[i] is either '$0$' or '$1$'.
You are given a $0$ indexed binary string s of length n, where '$1$' represents a black ball and '$0$' represents a white ball.
In each step, you may choose two adjacent balls and swap them.
Return the minimum number of steps required to group all the black balls to the right and all the white balls to the left.
Constraints:
n s.length
s[i] is either '$0$' or '$1$'.