Domanda di colloquio di JPMorganChase

How to reverse a linked list with 2 pointers?