Bitwise ORs of Subarrays
Count how many different values come from OR-ing contiguous subarrays together. The visual keeps the set of OR results ending at each index, which changes only a few times.
Count how many different values come from OR-ing contiguous subarrays together. The visual keeps the set of OR results ending at each index, which changes only a few times.