LeetCode刷题-排序链表

一、题目描述
https://leetcode-cn.com/problems/sort-list/
二、解题思路
1、利用快慢指针找到链表中点,将其分为两半
2、递归调用上述过程
3、合并有序链表
三、代码实现
LeetCode刷题-排序链表_第1张图片

你可能感兴趣的:(学习)