Pergunta de entrevista da empresa Amdocs

find size of the given binary tree..

Resposta da entrevista

Sigiloso

22 de jun. de 2012

int size(tree* root) { if(root==NULL) return 0; else return size(root->left)+1+size(root->right); }