Add sort for int
This commit is contained in:
parent
3122c5b76f
commit
e4d37542bb
2 changed files with 38 additions and 8 deletions
|
|
@ -20,7 +20,8 @@ typedef struct tree
|
|||
unsigned int min, max;
|
||||
} tree;
|
||||
|
||||
unsigned int* sort(unsigned char* ints, int size);
|
||||
unsigned short* sort_char(const unsigned char* arr, int size);
|
||||
unsigned int* sort_int(const unsigned int* arr, int size);
|
||||
void print_huffman_tree(tree t);
|
||||
|
||||
tree build_tree(char* bit_lengths, int size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue