This commit is contained in:
13
include/s0538_convert_bst_to_greater_tree.hpp
Normal file
13
include/s0538_convert_bst_to_greater_tree.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef S0538_CONVERT_BST_TO_GREATER_TREE_HPP
|
||||
#define S0538_CONVERT_BST_TO_GREATER_TREE_HPP
|
||||
|
||||
#include "structures.hpp"
|
||||
|
||||
class S0538 {
|
||||
public:
|
||||
int sum{0};
|
||||
TreeNode* convertBST1(TreeNode* root);
|
||||
TreeNode* convertBST2(TreeNode* root);
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user