When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

jha_gaurav98's blog

By jha_gaurav98, history, 6 years ago, In English

I recently encountered a question QTREE on SPOJ. Initially I had no idea how to solve the question. After a bit of googling , I found that there is something called heavy-light decomposition which is involved in the question. But I was unable to find any resource which can explain this topic in an easy manner. Please if you know some resource where it is explained comprehensively and in easy way , please tell me.

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

»
6 years ago, # |
  Vote: I like it +3 Vote: I do not like it