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

📄 bins.h

📁 Data Structure Ebook
💻 H
字号:
/* Bins.h   Possible bin array for RadixSort*/#define TYPE	inttypedef struct t_bins *Bins;Bins ConsBins( int n_bins, int items_per_bin );/* Construct an array of n_bins bins,   each with items_per_bin spaces */int AddItem( Bins b, TYPE item, int bin_index );/* Add item to bin bin_index   Pre: b != NULL && item != NULL &&        bin_index >= 0 && bin_index < n_bins*/TYPE *MergeBins( Bins b, TYPE *list );/* Merge the bins by copying all the elements in bins    into list, return a pointer to list */void DeleteBins( Bins b );/* Destructor .. frees all space used by b */

⌨️ 快捷键说明

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