Thanks for the so called push @vijju123.
At present, I have no plans for taking editorials anytime soon, but you all know how quickly plans can change
1 Like
All one needs for plans to change is a little push
You can’t call that a ‘formula’. It’s just an observation.
Maybe this would be my situation if I try doing editorials and that’s the reason I haven’t tried
Also you’re are good writer @vijju123 and I am not. Idk how people on discuss sometimes reply saying my explaination was good .
I derived the answer for this problem and implemented it correctly using DFS.
Got WA
why??because I used directed tree instead of undirected tree.It was my first tree problem on codechef