Teradata Interview Question

Reverse a LinkedIn list using Merge sort