Professional Documents
Culture Documents
#include <iostream>
struct TreeNode {
int key;
TreeNode* left;
TreeNode* right;
class BinarySearchTree {
private:
TreeNode* root;
public:
BinarySearchTree() : root(nullptr) {}
int main() {
BinarySearchTree bst;
return 0;
}