随笔分类 -  数据结构

数据结构 树的建立与遍历
摘要:1 #include 2 #include 3 4 typedef char ElemType; 5 6 typedef struct node{ 7 ElemType data; 8 struct node *lson; 9 struct node *rson; 10 }Bynode,*Bytree; 11 12 Bytree CreateByt... 阅读全文
posted @ 2016-11-07 19:30 惟愿。。。 阅读(322) 评论(0) 推荐(0)
数据结构 队列
摘要:循环队列: 入队,出队,取队顶元素 阅读全文
posted @ 2016-10-17 19:18 惟愿。。。 阅读(225) 评论(0) 推荐(0)
数据结构 栈
摘要:入栈,出栈,取栈顶元素,遍历 阅读全文
posted @ 2016-10-10 19:47 惟愿。。。 阅读(168) 评论(0) 推荐(0)