Difference between binary search and binary search tree?
问题 What is the difference between binary search and binary search tree? Are they the same? Reading the internet it seems the second is only for trees (up to 2 children nodes) and binary search doesn't follow this rule. I didn't quite get it. 回答1: Binary Search Trees A node in a binary tree is a data structure that has an element, and a reference to two other binary trees, typically called the left and right subtrees. I.e., a node presents an interface like this: Node: element (an element of some