IXL Learning Interview Question

how to reverse a sinly linked list