maverick06's blog

By maverick06, history, 3 years ago, In English

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?

  • Vote: I like it
  • +3
  • Vote: I do not like it

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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