Rosetta Problems

Time Needed to Rearrange a Binary String

https://leetcode.com/problems/time-needed-to-rearrange-a-binary-string