NVIDIA Interview Question

Bit reversal algorithm