in Graph Theory
282 views
1 vote
1 vote
in a rooted tree if we are asked to find the level of root then it should be 0 or 1 or question depending ??
in Graph Theory
by
282 views

1 comment

Question Depending.

Level of Root is Generally taken as Level-1 and Height- 0. But It will depend on the Question and In the Question, It should be described.
0
0

1 Answer

1 vote
1 vote
  • In genral Root node level is considered as 0 . 

  •  height =max level +1

  • But in question it is given . If not given then we can take leveal as 0.

 

1 comment

YA ACTUALLY SAME IS GIVEN IN ROSEN
0
0

Related questions

0 votes
0 votes
2 answers
4
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true