Answer:
bool identicaltrees(Node* root1,Node* root2)//function of type boolean true if idenctical false if not.
{
if(root1==NULL&&root2==NULL)//both trees are null means identical.
return true;
if(roo1 && root2)
{
if(root1->data==root2->data)//condition for recursive call..
{
return (identicaltrees(root1->left,root2->right)&&identicaltrees(root1->right&&root2->right);
}
}
else
return false;
}
Explanation:
In this function it of type boolean returns true if both the trees are identical return false if not.First we are checking root node of both the trees if both are null then they are identical returning true.
If both root nodes are not null then checking their data.If data is same then recursively traversing on both trees and checking both trees.
else returning false.
Click the Manage My College Board Email Subscriptions link located at the bottom of the email.
You are taken to a new page.
Check or uncheck the boxes next to the emails you want to subscribe or unsubscribe to.
Click Submit in the bottom right-hand corner of the page.
You will receive an email confirmation of your subscription changes.
Answer:
ppl
Explanation:
asfafgdffsghsdfghdgsghdfghtrbd54445 ddfgg
Answer:
Post-mortem.
Explanation:
It refer to the discussion or analysis of event like here disaster why it doesn't work like plan based and through whole discussions what we learn so in future avoid such type of issue or mistakes.
The answer to this is Bulls icon