摘要:
1: using System; 2: using System.Collections.Generic; 3: using System.Linq; 4: using System.Text; 5: 6: namespace ConsoleApplication6 7: { 8: class Pr 阅读全文
posted @ 2013-12-26 17:07
Djzny
阅读(181)
评论(0)
推荐(0)
摘要:
既然能把冒泡KO掉,马上就激起我们的兴趣,tnd快排咋这么快,一定要好好研究一下。 首先上图: 从图中我们可以看到: left指针,right指针,base参照数。 其实思想是蛮简单的,就是通过第一遍的遍历(让left和right指针重合)来找到数组的切割点。 第一步:首先我们从数组的left位置取 阅读全文
posted @ 2013-12-26 16:56
Djzny
阅读(193)
评论(0)
推荐(0)
摘要:
1: using System; 2: using System.Collections.Generic; 3: using System.Linq; 4: using System.Text; 5: 6: namespace ConsoleApplication6 7: { 8: class Pr 阅读全文
posted @ 2013-12-26 15:32
Djzny
阅读(193)
评论(0)
推荐(0)

浙公网安备 33010602011771号