quicksort.h

来自「quicksort quicksort」· C头文件 代码 · 共 20 行

H
20
字号
typedef int ElementType;

#ifndef _QuickSort_H

struct SortStruct;
typedef struct SortStruct *Sort;

Sort Initialize( int MaxElements );
void MakeEmpty( Sort S );
void Destroy( Sort S );
void Insert( ElementType X, Sort S );
int IsFull( Sort S );
void Swap( ElementType *Lhs, ElementType *Rhs );
void InsertionSort( ElementType A[ ], int N );
ElementType Median3( ElementType A[ ], int Left, int Right );
void Qsort( ElementType A[ ], int Left, int Right );
void Quicksort( Sort S, int N );

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?