LeetCode
Bitwise ORs of Subarrays
Click
here
for an explanation.