Pregunta de entrevista de Samsung Electronics

write a program to reverse a link list.