Pergunta de entrevista da empresa NVIDIA

Output the elements of a simply linked list in reverse order