mirror of
https://github.com/tiennm99/CTDL-GT.git
synced 2026-06-09 12:14:02 +00:00
16 lines
258 B
C++
16 lines
258 B
C++
#ifndef BINARYSEARCHTREE_H
|
|
#define BINARYSEARCHTREE_H
|
|
|
|
#include "treenode.h"
|
|
|
|
class BinarySearchTree
|
|
{
|
|
public:
|
|
TreeNode *root = nullptr;
|
|
void insert(TreeNode *node);
|
|
void remove(int removeData);
|
|
void print();
|
|
};
|
|
|
|
#endif // BINARYSEARCHTREE_H
|