tttree.h

来自「数据结构与算法分析」· C头文件 代码 · 共 15 行

H
15
字号
// Two-three tree implementation for the Dictionary ADT
template <class Key, class Elem, class KEComp, class EEComp>
class TTTree : public Dictionary<Key, Elem, KEComp, EEComp> {
public:
  TTTree();
  ~TTTree();
  void clear();
  bool insert(const Elem&);
  bool remove(const Key&, Elem&);
  bool removeAny(Elem&);
  bool find(const Key&, Elem&) const;
  int size();
  void print() const;
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?