leetcode/include/s0110_balanced_binary_tree.hpp

16 lines
219 B
C++

#ifndef S0110_BALANCED_BINARY_TREE_HPP
#define S0110_BALANCED_BINARY_TREE_HPP
#include <algorithm>
#include "structures.hpp"
using namespace std;
class S0110 {
public:
bool isBalanced(TreeNode* root);
};
#endif