answersLogoWhite

0

int arvoresEspelhadas(ArvoreBinaria a, ArvoreBinaria b) {

if ((a == NULL) && (b == NULL)) {

return 0; //ambas vazias

}

if ((a == NULL) (b == NULL)) {

return 1;

}

return ((a.info == b.info) && arvoresEspelhadas (a->esq, b->dir) && arvoresEspelhadas(a->dir, b->esq);

}

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

What is most similar to light reflecting of a mirror?

Light reflecting off a mirror is most similar to light reflecting off a smooth, shiny surface like glass or metal. These surfaces are highly reflective and can create clear and sharp reflections of the light source.


Is a mirror a natural source of light?

A mirror is not a source of light, natural or otherwise.


How can I determine the magnification of my mirror?

To determine the magnification of a mirror, divide the height of the image by the height of the object. The result will be the magnification factor.


How do you determine stupidity?

Look in the mirror


Mirror image of binary search tree?

mirror image of the binary tree is nothing but it is the term used to swap the left and right subtrees of the bst... program or function of mirror image void mirror(tree *root) {if (root==NULL) return; else {temp=root->left; root->left=root->right; root->right=temp; } }


How do you determine morbid obesity?

look in the mirror fatty


Why is concave mirror used in street lights?

bcause when light source placed at focus of the mirror, after flashing the light form the source to the mirror after reflection a straight parallel beam of light emerges which makes the street bright


What kind of mirror should be used if the source of light is artificial?

A regular mirror can be used if the source of light is artificial. Artificial light sources do not require any special type of mirror for reflection. Any mirror that reflects light effectively will work for artificial light sources.


What part of the microscope produces light?

The light source of a microscope produces light that passes through the specimen being observed. It can be a bulb, LED, or mirror.


How do you determine the features of your rear view mirror?

look in the owners manual


Which type of mirror is most similar to a convex lens?

A convex mirror is most similar to a diverging lens. Both surfaces curve outward and cause light rays to diverge.


How do you test mirror magnification?

To test mirror magnification, you can place a ruler at a known distance from the mirror and measure the size of the reflected image. By comparing the size of the image to the actual size on the ruler, you can determine the magnification factor of the mirror.