leetcode/include/s0108_convert_sorted_array_...

16 lines
274 B
C++

#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