LintCode 464 整数排序 II

给一组整数,按照升序排序。使用归并排序,快速排序,堆排序或者任何其他 O(n log n) 的排序算法。

继续练习快速排序

int f(vector & nums,int first,int end){
	
	int i=first,j=end;
	while(i & nums,int first,int end){
	if(first &A) {
        // write your code here
        t(A,0,A.size()-1);
    }

你可能感兴趣的:(2018,LintCode)