NVIDIA Interview Question

Standard algorithmic question as on leetcode