Zscaler Interview Question

Sort a linked list in reverse order