Time Needed to Rearrange a Binary String

mediumSolve on LeetCodeLast edited: August 2, 2025