SingleStore Interview Question

Reverse a linked list and explain