Problem 1536 is about tree diameter, solved by dfs twice