加入收藏
举报
当前仅显示指定条件回帖 [ 展开查看全部 ]
02-15 17:02
#
文件名称:
README.md
所在目录:
教材与参考资料 / 程序设计类 / 数据结构&算法 / 算法 / 面试与力扣题目详解 / Leetcode题目和解答 / java-leetcode / sort-list
文件大小:
361.00 B
下载地址:
MQguer/XDU-CS-Resources
   
免责声明:本网站仅提供指向 GitHub 上的文件的链接,所有文件的版权归原作者所有,本网站不对文件内容的合法性、准确性或安全性承担任何责任。
文本预览:
## MergeSort

* cut in the middle
* MergeSort(left) and MegerSort(right)
* merge using [Merge Two Sorted Lists](../merge-two-sorted-lists)
### Finding the middle of a linked list
fast-slow pointer.
1. fast runner goes 2 steps each time
1. slow runner goes 1 step
1. when fast reach the end of the linked list, the slow id the middle of the list
点赞 回复
回帖
支持markdown部分语法 ?