Binary tree

As we discussed earlier, a binary tree is a type of tree in which each node has at most two children, which means a node in the binary tree can have one, two, or no children. These children are referred to as the left child and the right child.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.