摘要: class Solution { public: TreeNode* trimBST(TreeNode* root, int low, int high) { if (root == nullptr ) return nullptr; if (root->val < low) { TreeNode* 阅读全文
posted @ 2023-01-21 14:39 芝士可乐 阅读(24) 评论(0) 推荐(0)