leetcode/include/s0701_insert_into_a_binary_search_tree.hpp

12 lines
216 B
C++
Raw Normal View History

2023-02-01 02:57:38 +00:00
#ifndef S0701_INSERT_INTO_A_BINARY_SEARCH_TREE_HPP
#define S0701_INSERT_INTO_A_BINARY_SEARCH_TREE_HPP
#include "structures.hpp"
class S0701 {
public:
TreeNode* insertIntoBST(TreeNode* root, int val);
};
#endif