Bitwise interview question

Data Structure Algorithms