0761. Special Binary String
Description
**Input:** s = "11011000"
**Output:** "11100100"
**Explanation:** The strings "10" [occuring at s[1]] and "1100" [at s[3]] are swapped.
This is the lexicographically largest string possible after some number of swaps.**Input:** s = "10"
**Output:** "10"ac
Last updated