3.3
Trees >> rules :- If a graph G there is one and only one path between each pair of vertices G is a tree. A graph is a tree if and only if it a minimal connected. >> Directed trees :- tress having indegree 1 and no outdegree are called external , terminal (nodes or vertices) or vertices. the node which has outdegree greater than 1 is called internal node. >> ordered tree :- order is defined. >> Rooted Trees : If a directed tree has exactly one node or vertex called root whose incoming degrees is 0 and all other vertices have incoming degree one, then the tree is called rooted tree. Note: A tree with no nodes is a rooted tree (the empty tree) A single node with no children is a rooted tree. >> path length >> Diff between trees and graphs:- > trees have unique path to each vertex but graphs can have many paths. >in trees there is only one root node but in graphs there is no such thing like root node. >trees don't have loops and self ...