Question d’entretien chez Oracle

to find the maximum sum subtree, basically it was a graph problem