![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c
文章平均质量分 72
wenwenhappy
这个作者很懒,什么都没留下…
展开
-
二叉树相关操作
#include "stdio.h" #include "stdlib.h" #include "malloc.h" typedef struct Node/*类型定义*/ { int data; Node * LChild; Node * RChild; }BiTree; BiTree * CreateBiTree(BiTree * bt)/*先序创建二叉树*/原创 2013-05-24 17:47:07 · 509 阅读 · 0 评论 -
链队基本操作及打印杨辉三角
#include "stdio.h" #include typedef struct Node/*结点类型定义*/ { int data; struct Node * next; }LinkQueueNode; typedef struct/*链队的类型定义*/ { LinkQueueNode * front; LinkQueueNode * rear; }LinkQu原创 2013-05-24 21:45:29 · 667 阅读 · 0 评论 -
各种排序算法
/* *四种插入排序(直接插入排序,折半插入排序,希尔排序) */ #include #define N 8 #define M 3 void sort1(int a[N]); void sort2(int a[N]); void print(int a[N]); void sort3(int a[N]); void sort3two(int a[N原创 2013-05-24 21:07:07 · 405 阅读 · 0 评论