What value does the following C function return?

int mystery(Btree x)
{
    if (x == NULL)
        return 0;
    else
        return max(mystery(x->left), mystery(x->right));
}


Difficulty level
This exercise is mostly suitable for students
0

Back to the list of exercises
Looking for a more challenging exercise, try this one !!
Binary tree mirrors check