Three Consecutive Odds
Decide whether three neighbouring values are all odd by scanning a sliding window of length three. The visual slides the window along the array.
Decide whether three neighbouring values are all odd by scanning a sliding window of length three. The visual slides the window along the array.