疯狂的指针
疯狂的指针
全部文章
数据结构
C/C++(10)
c语言(1)
git(1)
Git教程(2)
IO模型(1)
leetcode(18)
LeetCode题解(3)
Linux(7)
PLC(3)
Python(7)
socket(1)
中国(2)
其他(1)
冒泡排序(1)
动态规划(6)
回溯法(1)
回溯法基础(3)
快速排序(1)
接口(2)
未归档(187)
树状数组(1)
浙大PAT-A题目集(30)
浙大PAT-B题目集(23)
深入学习C++(14)
生物(1)
程序员升职记(10)
笔试(2)
经济学人(6)
英语学习(1)
读书笔记(3)
谷歌(1)
归档
标签
去牛客网
登录
/
注册
Vincent's Blog
全部文章
/ 数据结构
(共5篇)
【排序】堆排序
程序代码: #include<iostream> #define MAX 1000 using namespace std; void Sift(int* r,int size,int i); void swap(int *num,int i,int j); int main() { ...
2016-04-22
0
472
【排序】简单选择排序
程序代码: //简单选择排序 #include<iostream> using namespace std; void SelectSort(int* r,int n); int main() { int num[8]; for(int i=0;i<8;i++)...
2016-04-22
0
472
【排序】直接插入排序
程序代码: //直接插入排序 #include<iostream> using namespace std; void InsertSort(int* r,int n); int main() { int num89]; for(int i=0;i<8;i++) ...
2016-04-22
0
435
【数据结构】二叉树结点插入和前序、中序、后序遍历的递归实现
1.二叉树结点定义 struct node{ int data; //int可换成其他的数据类型 struct node* left; struct node* right; }; 每一个二叉树结点都有一个数据域,一个左指针和一个右指针。叶子结点的左指针和右指...
数据结构
二叉树
递归
遍历
2016-03-25
0
505
收藏的好文章
数据结构 二叉树遍历之非递归算法-石锅拌饭的博客 二叉树遍历的递归算法-石锅拌饭的博客 二叉树的递归建立 Binary Trees - Stanford CS Education Library Binary Trees(PDF) - Stanford CS Educatio...
数据结构
遍历
2016-03-24
0
653