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.
Define a Binary Search Tree.
Focus on the structure and sorting properties.
What is the average time complexity for searching in a balanced BST?
Consider how a BST is navigated.
What is the primary property of a Binary Search Tree?
Recall how the child nodes relate to their parent.
Is it true that inserting into an unbalanced BST can lead to O(n) time complexity?
Think about what an unbalanced tree looks like.
Given a sorted array of numbers, create a balanced BST. Explain the process.
Consider how you would split data to keep it balanced.
Consider a BST that is highly unbalanced. Suggest a plan to balance it and justify your choice.
Recall how balance factors play a role in keeping trees managed.
5 more questions in this section. Enroll free to practise them all.
Enroll free