Requesting more problems like below one , involving Binary Lifting

Revision en1, by shelbytom.23, 2023-10-07 01:33:27

Given a weighted tree , solve q queries , each query is of form "u v" , return maximum edge weight lying on path from node u to node v. 1<=n<1e5 , 1<=q<=1e5

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English shelbytom.23 2023-10-07 01:33:27 224 Initial revision (published)