Time Needed to Rearrange a Binary String

Time Needed to Rearrange a Binary String - Coding Problem | K5kC