Binary search trees are rooted binary tree data structures with keys that are greater than the keys in the left subtree and less than the keys in the right subtree. They allow for fast lookup, addition, and removal of data items, with an average complexity of O(log n). Self-balancing variants of BSTs have been introduced to bound the worst lookup complexity to that of the binary logarithm.
Stanford University
Winter 2023
This course helps transition from coding to problem-solving using computers. The course explores techniques, tools, and models for problem-solving across disciplines using C++. Prior programming experience is assumed.
No concepts data
+ 33 more concepts