s0108
This commit is contained in:
15
include/s0108_convert_sorted_array_to_binary_search_tree.hpp
Normal file
15
include/s0108_convert_sorted_array_to_binary_search_tree.hpp
Normal 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
|
Reference in New Issue
Block a user