Pergunta de entrevista da empresa Goldman Sachs

Write a program to print linked list in reverse order