#include <stdio.h>#include <stdlib.h>#include <string.h>#include <malloc.h>#define Min 1000;typedef struct{ int weight; int parent; int lchild; int rchild;}HTNode,*HuffmanTree;typedef char **HuffmanCode;void Select(HuffmanTree ht,int n,int *s1,int *s2){ int i,c2; int c1=Min; for(i=1;i<=n...