July 4th Sale
Limited Time Deal: Unlock all premium questions for over 40% off
$10.42$6.25
10
:
09
:
27
:
42
Back to Dashboard
Circular Signal Window
Medium
FREE
You are given a circular array signal of 0s and 1s representing antenna readings logged in sequence, where 1 means good signal and 0 means no signal. Because the array is circular, the last reading connects back to the first.
You may boost at most k no-signal readings (flip at most k 0s to 1s).
...