NVIDIA Interview Question

Two algorithms and 2 solutions.