LeetCode: merge k lists