| Slide Index | | | <- prev | next -> |

15. Trees 2: Dynamic Binary Tree Navigation and Iteration

1: Trees 2: Overview 2: Dynamic Memory Implementation of Binary Trees 3: NeoClassic (nonOB) Approach: Operate directly on public TNode<T> 4: Classic Recursive Traversal Algorithms for TNode<T> 5: Classic Recursive Traversal Algorithms for TNode<T> -- 2 6: An Object-Based Approach 7: Object-Based Implementation 8: Binary Tree Navigators 9: Defining class TBinaryTreeNavigator 10: Implementing class TBinaryTreeNavigator 11: Inorder Iterator 12: Inorder Iterator Initialization 13: Inorder Iterator Incrementation 14: Postorder Iterator 15: Postorder Iterator Initialization 16: Postorder Iterator Incrementation 17: Preorder Iterator Using Stack 18: Preorder Iterator Initialization (Stack Based) 19: Preorder Iterator Incrementation (Stack Based) 20: Levelorder Iterator Using Queue 21: Levelorder Iterator Initialization (Queue Based) 22: Levelorder Iterator Incrementation (Queue Based) 23: Runtime Complexity of Iterator Operations
    Copyright notice: The source documents, rendered pages, and content in this course are proprietary and may not be copied without express written permission of the author. (C) 2010 R.C. Lacher, Florida State University.

<- prev | next -> | Top of Page |