2010年5月24日

摘要: 继续我的找工笔试面试题整理。1. 快排的两种写法以前一直用第一种方式进行快排的,笔试中出现了第二种头尾指针的快排。第一种:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->template<class T,class TCOMP>void quicksort(T a[],int start,int end,TCOMP cmpf=NULL){ int i; if(start>=end) return; int mid... 阅读全文
posted @ 2010-05-24 10:23 absolute 阅读(3064) 评论(2) 推荐(4)

导航