Frage im Vorstellungsgespräch bei Gentex Corporation

Write a function to reverse a singly linked list.