http://www.nxcoding.com/archives/leetcode-daily-2680-maximum-or-prefix-bitwise