数据结构
文章平均质量分 77
wpf_ml
c++,linux,database,OLTP,OLAP,socket
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
c++ 二叉树示例
/* Binary Tree */#include #include #include using namespace std;struct Tree{ char data; Tree *left; Tree *right; Tree *parent; };Tree* lookUp(struct Tree *node, char key){ if(node翻译 2012-07-17 16:44:16 · 587 阅读 · 0 评论 -
c++ 单链表的基本操作
#include using namespace std;struct Node { int data; Node* next;};// only for the 1st Nodevoid initNode(struct Node *head,int n){ head->data = n; head->next = NULL;}// apendingvoid add原创 2012-07-16 10:55:12 · 676 阅读 · 0 评论 -
单链表相关操作代码
#include #include using namespace std;struct node{ int data; // data struct node *next; // link to next};int Length(struct node* head);struct node* BuildOneTwoThree(int iNod原创 2013-04-25 15:58:53 · 647 阅读 · 0 评论
分享