Bitwise OR of Adjacent Elements
Given an integer array nums of length n, return an array result of length n-1 where result[i] = nums[i] | nums[i+1], the bitwise OR of each adjacent pair.
Given an integer array nums of length n, return an array result of length n-1 where result[i] = nums[i] | nums[i+1], the bitwise OR of each adjacent pair.