Hide Index
Binary Tree
0% completed
Introduction to binary trees
Array implementation of binary trees
Linked list implementation of binary trees
Recursive traversals in binary trees
Iterative traversals in binary trees
Constructing a binary tree
Insertion in binary trees
Pattern: Preorder traversal (Stateless)
Pattern: Preorder traversal (Stateful)
Pattern: Postorder traversal (Stateless)
Pattern: Postorder traversal (Stateful)
Pattern: Root to leaf path (Stateless)
Pattern: Root to leaf path (Stateful)
Pattern: Level order traversal
Pattern: Lowest common anscestor
Pattern: Simultaneous traversal
Practice: Mix traversals
Certificate
Challenges in construction from inorder traversal
Let us determine if we can uniquely serialize and deserialize a tree using its inorder traversal sequence. We will start with a simple tree, try to serialize it into its inorder traversal sequence, and then try reconstructing the same tree using the inorder sequence.
Loading Image
Example Tree
Serialization
Liking the course? Check our discounted plans to continue learning.