Sponsored
Use these hints if you're stuck. Try solving on your own first.
Find all the possible <code>OR</code> till each <code>i</code> with <code>k</code> elements backward and forward.
Solve with full IDE support and test cases