मराठी
महाराष्ट्र राज्य शिक्षण मंडळएचएससी विज्ञान (संगणक विज्ञान) इयत्ता १२ वी

Define the following term with reference to the Tree: Depth - Computer Science 1

Advertisements
Advertisements

प्रश्न

Define the following term with reference to the Tree:

Depth

Define the following term with respect to the binary tree:

Depth of tree

व्याख्या
Advertisements

उत्तर

Depth of a tree is defined as maximum level of any nodes in the tree. If root is level 0 then depth or height of tree is equal to 1 + largest level number. 

For eg: Depth of above tree is 5.

shaalaa.com
Basic Data Structures (Stack, Queue, Dequeue)
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2016-2017 (March)

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×