Add sort for int

This commit is contained in:
atxr 2024-02-23 18:00:33 +01:00
parent 3122c5b76f
commit e4d37542bb
2 changed files with 38 additions and 8 deletions

View file

@ -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);