https://samirpaul.in/posts/bitwise-ors-of-subarrays/
Bitwise ORs of Subarrays