J.P. Morgan interview question

How do you reverse linked list