I was reading anudeep2011's blog.
He mentioned 2-3 lines down below to solve QTREE4 using HLD. I didn't understand it, can some explain it to me, please?
Here is the link to the problem.
How to solve SPOJ QTREE4 by HLD?
I was reading anudeep2011's blog.
He mentioned 2-3 lines down below to solve QTREE4 using HLD. I didn't understand it, can some explain it to me, please?
Here is the link to the problem.