diff options
Cleanup
1 files changed, 0 insertions, 14 deletions
| -rw-r--r-- | Seminar08/height.cpp | 14 |
diff --git a/Seminar08/height.cpp b/Seminar08/height.cpp deleted file mode 100644 index c115228..0000000 --- a/Seminar08/height.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include"tree-utils.h" -#include<iostream> - -template<typename T> -size_t height(const Tree<T>* tree) { - if (!tree) - return 0; - - return 1 + std::max(height(tree->left), height(tree->right)); -} - -int main(){ - -} |
