Qualcomm Interview Question

Sort a linked list in place