16 lines
232 B
C++
16 lines
232 B
C++
|
#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
|