Блог пользователя maverick06

Автор maverick06, история, 6 лет назад, По-английски

Here is the link to the problem: https://www.hackerearth.com/practice/algorithms/graphs/depth-first-search/practice-problems/algorithm/parwal-problem/ What should be approach and how can I solve these problem?

  • Проголосовать: нравится
  • +3
  • Проголосовать: не нравится

»
6 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Having idea of rerooting will help you in solving this problem.

Here is a blog, in it's comments section you can find useful resources.LINK