- 博客(4)
- 资源 (3)
- 收藏
- 关注
原创 图计算代码
#include #include // only can move right and down. Matrix mxn, how many ways from point(0,0) to point(m,n)int ways(int m, int n){ if( 0==n && 0==m) return 0; if( 0==n || 0==m ) retur
2016-01-25 08:43:37 730
原创 双向链表 代码
#include #include typedef struct node{ struct node *prev; struct node *next; int value;} Node;class linked_list{private: Node * head; Node * cur;public: linked_list()
2016-01-25 08:41:01 489
原创 二叉树 代码 早年联系题
#include #include #include typedef struct node{ struct node *left; struct node *right; int value;} Node;static Node *p_node[100];// for BSF way breadthordervoid enqueue( N
2016-01-25 08:39:49 382
原创 排序算法代码 早年练习题 冒泡 归并 快速
#include #include #include //quick sortvoid swap(int *px, int *py){ int tmp; tmp = *px; *px = *py; *py = tmp;}int split(int a[],int low, int high){ int i=low, j=hi
2016-01-25 08:35:46 407
Disk IO especially SSD optimization step by step share
2015-11-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人