Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is the topmost node of a tree called?
Think of where the tree begins.
What do you call a node that has no children?
Consider what happens if you can't go further down from that point.
What defines a node as a leaf in a tree structure?
Remember the basic structure of tree nodes.
True or False: In a binary search tree, the left subtree contains values greater than the parent node.
Recall how values are organized in a binary search tree.
Consider the following set of numbers: 15, 10, 20, 8, 12, 17, 25. Construct a binary search tree and demonstrate the in-order traversal output.
Focus on the rules of left and right placements based on value.
Explain how you would implement a priority queue using a heap. What advantages does using a heap provide?
Consider the properties of heaps regarding parent and child relationships.
6 more questions in this section. Enroll free to practise them all.
Enroll free