摘要:
代码可以根据《红黑树研究记录-实例》那篇文章的图来验证main.cpp#include <iostream.h>#include "RBTree.h"using namespace std;int main(int argc, char *argv[]){ int arr[20] = {12, 1, 9, 2, 0, 11, 7, 19, 4, 15, 18, 5, 14, 13, 10, 16, 6, 3, 8, 17}; RBTree *tree = new RBTree(); for(int i = 0; i < 20; i++) tree-> 阅读全文
posted @ 2012-06-28 15:46
Geek_Ma
阅读(259)
评论(0)
推荐(0)

浙公网安备 33010602011771号