Binary Tree Traversals

Reference Linked 1

Option name recursive Stack Morris
Preorder (Root, Left, Right)
Inorder (Left, Root, Right
Postorder(Left, Right, Root)
Time Complexity O(n) O(n)
Space Complexity O(n) O(n) O(1)

results matching ""

    No results matching ""