JIGYASA
Would you like to react to this message? Create an account in a few clicks or log in to continue.
JIGYASA

An online placement forum.


You are not connected. Please login or register

Height Balanced Tree

Go down  Message [Page 1 of 1]

1Height Balanced Tree Empty Height Balanced Tree Mon Jul 19, 2010 6:46 am

Lucifer


Admin

Given a binary tree. WAP to check whether it is height balanced ( i.e. all the leaves in the binary tree are of the same height )

struct node
{
int data;
struct node *lChild;
struct node *rChild;
};

https://jigyasa.forumotion.com

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum