Tree as a type of graph

Tarun Jain
Nov 5, 2022

--

· Tree
· Rooted Trees

Tree

A tree is an undirected graph with no cycles. Equivalently, it is a connected graph with N nodes and N-1 edges.

Source — https://youtu.be/eQA-m22wjTQ

Rooted Trees

A rooted tree is a tree with a designated root node where every edge either points away from or towards the root node . When edges point away from the root the graph is called an arborescence (out-tree) and anti-arborescence (in-tree) otherwise.

Source — https://youtu.be/eQA-m22wjTQ

--

--

No responses yet