Problem 3097 · Medium
A sliding window with per-bit counts shrinks from the left while the OR stays at least k.
Open the interactive visualisation