Genesys interview question

Coding question - Largest subsequence sum in a tree for a given path.