NVIDIA Interview Question

Some puzzles, some programs in C and various methods of executing the same program.