笔记 代码模拟实现 BSTree.h #pragma once #include <iostream> using namespace std; //节点 template<class K> struct BSTNode { K _key; BSTNode<K>* _left; BSTNode<K>* _right; BSTNode(const K& key) :_key(key) ,_left(nullptr) ,_right(nullptr) {} }; //二叉树 template<class K> class B...