Decomposition of paths

4

5 votes
Tree, Dynamic Programming, Algorithms, Depth First Search, Trees

?