s0104
This commit is contained in:
15
include/s0104_maximum_depth_of_binary_tree.hpp
Normal file
15
include/s0104_maximum_depth_of_binary_tree.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef S0104_MAXIMUM_DEPTH_OF_BINARY_TREE_HPP
|
||||
#define S0104_MAXIMUM_DEPTH_OF_BINARY_TREE_HPP
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "structures.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
class S0104 {
|
||||
public:
|
||||
int maxDepth(TreeNode* root);
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user