3 Commits
6 changed files with 2 additions and 1 deletions
+2 -1
View File
@@ -12,7 +12,6 @@
* `nextTreeData`: Traversierung mit Hilfe des zuvor implementierten Stacks. Done */ * `nextTreeData`: Traversierung mit Hilfe des zuvor implementierten Stacks. Done */
static TreeNode *root = NULL;
static StackNode *stackRoot = NULL; static StackNode *stackRoot = NULL;
@@ -185,5 +184,7 @@ int treeSizeRec(const TreeNode *currentNode)
nodeCount += treeSizeRec(currentNode->right); nodeCount += treeSizeRec(currentNode->right);
return nodeCount + 1; return nodeCount + 1;
} }
return nodeCount;
} }
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.