Tree height

I think I 've really stack in a simple operation. I want to make a function that will count the height of a node in a tree but I 'm stack. I can't think of anything, can you guys help me? The height is the longest path to the leaves going from node x to a leaf-successor of it.

Thanks, Themis
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!