leetcode/include/s0669_trim_a_binary_search_tree.hpp

12 lines
206 B
C++
Raw Normal View History

2023-02-01 03:52:11 +00:00
#ifndef S0669_TRIM_A_BINARY_SEARCH_TREE_HPP
#define S0669_TRIM_A_BINARY_SEARCH_TREE_HPP
#include "structures.hpp"
class S0669 {
public:
TreeNode* trimBST(TreeNode* root, int low, int high);
};
#endif