AlgorithmBinaryTreeOn this pageBinaryTree <T>A type that represents a binary tree (which has a maximum of 2 children; left, and right).Index PropertiesleftrightvalueProperties optionalleftleft?: BinaryTree<T>The left child of the tree.optionalrightright?: BinaryTree<T>The right child of the tree.valuevalue: TThe value of the tree node.
A type that represents a binary tree (which has a maximum of 2 children; left, and right).