- 博客(2)
- 资源 (2)
- 收藏
- 关注
转载 红黑树 c++实现
参考算法导论里的红黑树相关内容编写。#include #include using namespace std;#ifndef RBTREE_H#define RBTREE_Henum colortype{RED,BLACK};templateclass rbtree_node{public:datatype data;color
2015-03-22 19:35:04 239
转载 AVL树的c++实现
#include #include #ifndef AVLTREE_H#define AVLTREE_Husing namespace std;templateclass avlTree_node{public:elementtype data;int height;avlTree_node* left;avlTree_node* right;
2015-03-20 21:06:29 262
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人