dp on tress

Правка en1, от Master_coder, 2019-04-07 15:21:02

i am trying to solve the problem https://www.hackerrank.com/challenges/tree-pruning/problem . the main point here is how to choice which subtree we have to delete and how dfs order to visit the node can help us ?

Теги dp, tree

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Master_coder 2019-04-07 15:21:02 224 Initial revision (published)