0 votes 0 votes I have seen that in some question height and deapth of binary tree are used interchangably. So, I request to say difference between height and deapth of a binary tree. Programming in C binary-tree + – Tarak asked Nov 8, 2016 Tarak 395 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes The depth of a node is the number of edges from the node to the tree's root node. A root node will have a depth of 0. The height of a node is the number of edges on the longest path from the node to a leaf. A leaf node will have a height of 0. Devshree Dubey answered Nov 8, 2016 Devshree Dubey comment Share Follow See all 0 reply Please log in or register to add a comment.