int maxDepth(struct node* node)
{
if (node==NULL)
{
return(0);
}
else
{
int leftDepth = maxDepth(node->left);
int rightDepth = maxDepth(node->right);
if (leftDepth > rightDepth) return(leftDepth+1);
else return(rightDepth+1);
}
}
Wednesday, August 15, 2007
Subscribe to:
Post Comments (Atom)
6 comments:
Hi Vijay,
Thanks for posting such a good questions and answers.
wwegtfwegw w w3
Nice information you tell us , i also tell you some question ask during the interview
Questions
What are the challenging facets of the job?
What are the challenging facets of the job?
How would you describe your organization's personality and management style?
Describe the work environment.
How will that help the organization?
Myers Briggs type indicator Hunter
nice coading..
good job.
Students Portal
Thanks for the info. It is very helpful.
RegardsEducational site
Get jobs info at Educational site
Hi just stumbled upon your website via Yahoo after I typed in, "Blogger: Interview Questions" or perhaps something similar
(can't quite remember exactly). Anyways, I'm relieved I found it
because your subject material is exactly what I'm searching for (writing a university paper) and I hope you don't mind if I gather some material from here and I will
of course credit you as the reference. Thank you.
Feel free to visit my blog: computer
Post a Comment