Problem 3095 · Easy

Shortest Subarray With OR at Least K I

Grow the OR from each start index until it reaches k, and keep the shortest such subarray.

Open the interactive visualisation