On Wed, 15 Dec 2004 21:57:00 -0800, uday wrote:
can u tell me a group over data structures in either c or c++. how can
we write a program for finding the depth of tree in c
comp.programming is a good place to discuss algorithms and datastructures.
You can find the depth of a binary tree easily with a recursive algorithm
depth = 1 + max(depth of left subtree, depth of right subtree)
Lawrence