Apple interview question

Can you reverse a linked list