Meta interview question

Hard problem related to recursion on a tree