数据结构
HW小蜗牛
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
数据结构-二叉树
二叉树 节点定义: typedefstruct btnode { int data; struct btnode *left; struct btnode *right; }btnode; 1 二叉查找树创建: btnode*creat(int n) { int i; btnode* root=NULL;原创 2013-04-25 22:05:15 · 429 阅读 · 0 评论 -
shell排序-c语言
// ShellSort.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" /*********************************************************************** **实现思想 ** ** 将要排序的一组数按某个增量d分成若干组,每组中记录的下标相差d.对每组中全部元素进行排序,转载 2013-05-20 17:21:45 · 436 阅读 · 0 评论 -
数据机构-四种链表
单链表 #include #include #include //不要丢掉 #include #include #define NULL0 typedefstruct student { int data; struct student * next; }node; //------------------------------------原创 2013-04-25 22:03:32 · 410 阅读 · 0 评论
分享