Rosetta Problems

Rooted Tree Isomorphism Classification

https://judge.yosupo.jp/problem/rooted_tree_isomorphism_classification