summaryrefslogblamecommitdiffstats
path: root/converter/cQuicksort.h
blob: b9327bd7daa31645aec2245ac0a3f07fd9d7f8de (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                           
#pragma once


class cQuicksort {


public:
	void quicksort(int*, int, int);


private:
	int partition(int*, int, int, int);
	int median3(int*,int,int);
	void swap(int &, int &);

};