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 a Search Tree?
Think about how it helps in sorting and searching.
Define a Binary Search Tree.
Consider how values are arranged.
What is the primary characteristic of a Binary Search Tree?
Think about how nodes are arranged based on values.
True or False: In-order traversal of a BST results in values in non-decreasing order.
Recall the traversal process.
Design a Binary Search Tree from the following sequence of numbers: 15, 10, 20, 8, 12, 17, 25. What would the tree look like?
Insert numbers one at a time, following left for lesser and right for greater.
How would you execute a deletion of node 10 from the BST created from the previous problem, considering it has two children?
Think of maintaining BST integrity while deleting.
5 more questions in this section. Enroll free to practise them all.
Enroll free