Groups
Category
Level
Tree isomorphism asks whether two trees have exactly the same shape, ignoring vertex names.
Tree diameter is the longest simple path in a tree and can be found with two BFS/DFS runs.