NVIDIA Interview Question

first interview had an algorithm question using bitwise