Pergunta de entrevista da empresa Allstate

This was the most difficult (although not difficult at all, comparatively speaking) How would you reverse a linked list so that the head becomes the tail and the tail becomes the head?