Log in
Enquire now
User profile

Caleb Thomas

Obsessive autodidact searching for the ultimate truth
Joined April 2022
3
Contributions
ContributionsActivity
Binary treeBinary tree was edited byCaleb Thomas profile picture
Caleb Thomas
April 17, 2022 5:27 pm
Article  (+14/-14 characters)

A binary tree is an implementation of the tree data structuredata structure in which each node has at most two children. A binary tree is made up of a finite set of elements called nodes. The genesis node of any given tree is referred to as the "root" of the tree. The root node of a binary tree can either be empty or contain a left and right subtree, which must also be binary trees themselves. Any descendant node of a root node is typically referred to as the root's "child". If a root node has two "child" nodes, then we would refer to those nodes instead as it's "children". We refer to the root of these child nodes as the "parent" node. The connection itself that creates a relationship between a parent node and a child node is called an "edge".

AlgorithmAlgorithm was edited byCaleb Thomas profile picture
Caleb Thomas
April 17, 2022 5:25 pm
Article  (+183 characters)

In mathematics and computer science, an algorithm is a finite sequence of well-defined instructions, typically used to solve a class of specific problems or to perform a computation.

Binary treeBinary tree was edited byCaleb Thomas profile picture
Caleb Thomas
April 17, 2022 4:42 pm
Article  (+740 characters)

A binary tree is an implementation of the tree data structure in which each node has at most two children. A binary tree is made up of a finite set of elements called nodes. The genesis node of any given tree is referred to as the "root" of the tree. The root node of a binary tree can either be empty or contain a left and right subtree, which must also be binary trees themselves. Any descendant node of a root node is typically referred to as the root's "child". If a root node has two "child" nodes, then we would refer to those nodes instead as it's "children". We refer to the root of these child nodes as the "parent" node. The connection itself that creates a relationship between a parent node and a child node is called an "edge".