数据结构与算法
CodeJugend
我,什么都莫得
展开
-
HuffmanTreeCode.c
HuffmanTreeI leaned it about few months ago, then I found this and decided to uploadit.The code part:#include <stdio.h>#include <string.h>#include <stdlib.h>#define ALPHABET_LENGTH 26char alphabet[] = {'a', 'b', 'c', 'd', 'e'.原创 2020-07-06 21:05:47 · 225 阅读 · 0 评论 -
Stack.h(c)
#include<stdlib.h>#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2#define STACK_INIT_SIZE 100#define STACKINCREMENT 10typedef int Stat...原创 2020-04-08 12:08:53 · 1761 阅读 · 0 评论 -
CLinkList(仅学习用)
#include <stdio.h>#include <stdlib.h>typedef struct CLinkList{ int data; struct CLinkList *next;}node;void InitLinkList(node **pNode); //初始化链表void Insert(node **pNode...原创 2020-04-08 12:00:32 · 269 阅读 · 0 评论