This commit is contained in:
2023-02-01 12:14:24 +08:00
parent 968e8f3adc
commit b2e4f6daad
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#ifndef S0108_CONVERT_SORTED_ARRAY_TO_BINARY_SEARCH_TREE_HPP
#define S0108_CONVERT_SORTED_ARRAY_TO_BINARY_SEARCH_TREE_HPP
#include <vector>
#include "structures.hpp"
using namespace std;
class S0108 {
public:
TreeNode* sortedArrayToBST(vector<int>& nums);
};
#endif