s0111
All checks were successful
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
2023-01-30 21:00:44 +08:00
parent 393ddb83df
commit 38d44a6fa8
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#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