Pregunta de entrevista de NVIDIA

Theoretical programming question