NVIDIA interview question

first interview had an algorithm question using bitwise