Citadel interview question

Reverse a Linked List - LC Easy