diff options
Diffstat (limited to 'converter/source/cQuicksort.h')
-rw-r--r-- | converter/source/cQuicksort.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/converter/source/cQuicksort.h b/converter/source/cQuicksort.h new file mode 100644 index 000000000..b9327bd7d --- /dev/null +++ b/converter/source/cQuicksort.h @@ -0,0 +1,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 &); + +}; |