Tree Longest Path 2246

2246. Longest Path With Different Adjacent Characters Hard You are given a tree (i.e. a connected, undirected graph that has no cycles) rooted at node
posted @ 2022-10-31 11:46  xiaoyongyong  阅读(27)  评论(0编辑  收藏  举报