码迷,mamicode.com
首页 >  
搜索关键字:链表快速排序    ( 13个结果
链表快速排序
链表快速排序 大致思想是通过一个指针数组转化为常规数组快速排序,最后再重新梳理链表。 #include #include using namespace std;typedef struct NODE{ int data; NODE* next; NODE(int _data) : data(_da...
分类:其他好文   时间:2014-06-21 10:01:47    阅读次数:210
Leetcode:Partition List 链表快速排序划分
Partition ListGiven a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should pres...
分类:其他好文   时间:2014-06-12 06:18:55    阅读次数:562
13条   上一页 1 2
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!