Graph Theory Problem

Revision en1, by iLoveIOI, 2020-04-26 07:08:42

Given a tree with n<=2e5 nodes how do you find the nodes that are on the diameter of the tree?

Thanks!

Tags #graph theory

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English iLoveIOI 2020-04-26 07:08:42 125 Initial revision (published)