add iterative post-traversal algorithm, tests passed.
This commit is contained in:
@@ -130,6 +130,8 @@ void test_postTraversal(){
|
||||
|
||||
root->postOrder_Re(Print<int>());
|
||||
cout << endl;
|
||||
root->postOrder_It(Print<int>());
|
||||
cout << endl;
|
||||
}
|
||||
|
||||
void test_levelTraversal(){
|
||||
|
||||
Reference in New Issue
Block a user