SingleStore interview question

Reverse a linked list and explain