OPPO interview question

Leetcode 148. Sort List.