Change list to ListNode.