s0538
All checks were successful
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
2023-02-01 12:54:52 +08:00
parent b2e4f6daad
commit e4ec64865b
3 changed files with 61 additions and 0 deletions

View 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