Time complexity of dsu on tree

Revision en1, by code_warrior, 2020-06-22 19:58:05

I have recently read tutorial on dsu on trees in codeforces (Arpa's Blog).See this blog.I couldn't understand how the time complexity of it is O(nlogn).Please ,someone explain me!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English code_warrior 2020-06-22 19:59:30 54
en1 English code_warrior 2020-06-22 19:58:05 252 Initial revision (published)