Question d’entretien chez Google

Coding Question in interview: calculate and return subtree with given sum in binary tree.