You can also add Graph editorials for CSES problem set to the list. They are not yet complete though → Reply sarkarasm 5 years ago, # | +8 For Tree Distances I max_distance[u] = max(distance_from_diametric_end1[u], distance_from_diametric_end2[u]) Is there any proof for...