//=================avl 的异常处理类=======================
//============== avl_tree_exception.h=====================
#ifndef AVL_TREE_EXCEPTION_H_
#define AVL_TREE_EXCEPTION_H_
#include<stdexcept>
#include<string>
class ATException: public std::logic_error
{
public:
ATException(const std::string &message="")
:std::logic_error(message.c_str())
{}
};
#endif
avl树实现
AVL树实现与应用
本文介绍了一种自平衡二叉查找树——AVL树的数据结构实现,包括插入、删除等关键操作,并通过一个示例程序展示了如何使用AVL树进行数据存储与检索。
3479

被折叠的 条评论
为什么被折叠?



