Scotiabank interview question

Reverse a given Linked List