Problem 3900 · Medium
Use at most one swap in a binary string, then pick the longest substring with equal zeros and ones.
Open the interactive visualisation