Cadence Design Systems interview question

Reverse a Linked List without recursion