Quick Sort Linked List Leetcode Problem