Pregunta de entrevista de National Instruments

Write recursive and non-recursive functions to reverse a linked list.