NVIDIA Interview Question

Implementing an efficient priority encoder