⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 quicksort.h

📁 quicksort quicksort
💻 H
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -