leetcode/include/s0111_minimum_depth_of_binary_tree.hpp

16 lines
232 B
C++
Raw Normal View History

2023-01-30 13:00:44 +00:00
#ifndef S0111_MINIMUM_DEPTH_OF_BINARY_TREE_HPP
#define S0111_MINIMUM_DEPTH_OF_BINARY_TREE_HPP
#include <algorithm>
#include "structures.hpp"
using namespace std;
class S0111 {
public:
int minDepth(TreeNode* root);
};
#endif