Mergesort Linked List Leetcode Question