You are given an array nums of non negative integers and an integer k.
A subarray is called special if the bitwise OR of all its elements evaluates to at least k.
Return the length of the shortest special non empty subarray of nums. If no such subarray exists, return
Constraints:
nums.length
nums[i]
k
You are given an array nums of non negative integers and an integer k.
A subarray is called special if the bitwise OR of all its elements evaluates to at least k.
Return the length of the shortest special non empty subarray of nums. If no such subarray exists, return
Constraints:
nums.length
nums[i]
k