Problem 2450 · Medium

Number of Distinct Binary Strings After Applying Operations

Each length-k window flip is an independent choice; the reachable strings are 2 raised to the number of window starts.

Open the interactive visualisation