Compare commits
3 Commits
master
...
branchjona
| Author | SHA1 | Date | |
|---|---|---|---|
| 369c019c30 | |||
| cccc013b99 | |||
| 9a79ff0ad4 |
@ -12,7 +12,6 @@
|
||||
* `nextTreeData`: Traversierung mit Hilfe des zuvor implementierten Stacks. Done */
|
||||
|
||||
|
||||
static TreeNode *root = NULL;
|
||||
static StackNode *stackRoot = NULL;
|
||||
|
||||
|
||||
@ -185,5 +184,7 @@ int treeSizeRec(const TreeNode *currentNode)
|
||||
nodeCount += treeSizeRec(currentNode->right);
|
||||
return nodeCount + 1;
|
||||
}
|
||||
|
||||
return nodeCount;
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
BIN
runstackTests.exe
Normal file
BIN
runstackTests.exe
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user