Solve MergeSortedList.