IXL Learning Interview Question

Reverse a linked list