Skip to the content.

Trees

what is the trees?

we have commonly termonolgy for trees:-

here you can find visual look for it!

Traversals

Binary Tree Vs K-ary Trees

K-ary Trees

If Nodes are able have more than 2 child nodes, we call the tree that contains them a K-ary Tree. In this type of tree we use K to refer to the maximum number of children that each Node is able to have.