Pergunta de entrevista da empresa Samsung Electronics

write a program to reverse a link list.