Rating changes for the last round are temporarily rolled back. They will be returned soon. ×

LOJ — Visiting Island

Revision en1, by wretched, 2021-01-20 19:04:30

I can findout the farthest nodes of a tree using dfs or bfs.How can I solve this problem using these technique or anything is new to solve this problem? Problem link : https://lightoj.com/problem/visiting-islands Help plz.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English wretched 2021-01-20 19:04:30 245 Initial revision (published)