摘要: 具体的执行过程,摘自维基百科,很容易懂。http://zh.wikipedia.org/wiki/AVL%E6%A0%91#include <stdio.h>#include <malloc.h>#include <assert.h>typedef int ElementType;typedef struct AvlNode{ /* data */ ElementType element; struct AvlNode* leftChild; struct AvlNode* rightChild;} AvlNode;int max( int a, int b 阅读全文
posted @ 2013-04-12 10:19 brackenbo 阅读(158) 评论(0) 推荐(0) 编辑