Mogo (Canada) interview question

How would you optimally reverse a linked list?