Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is a binary tree?
Think about the structure and children of each node.
Name one traversal method for binary trees.
Recall the traversal methods we've discussed.
Which traversal method processes the left child, the node, then the right child?
Think about the order in which we deal with nodes.
True or False: In a binary tree, each node must have exactly two children.
Consider the conditions of the tree structure.
Given the binary tree with nodes A, B, C, D in a certain structure, if you perform a pre-order traversal, what will be the output?
Remember the order of visiting nodes in pre-order.
Create a binary tree and demonstrate all four types of traversal methods on the tree.
Build the structure first, then systematically apply each traversal technique.
5 more questions in this section. Enroll free to practise them all.
Enroll free