https://cst0601/github.io/posts/leetcode-1719/
Leetcode 1719 - Number Of Ways To Reconstruct A Tree - Atelier Chikuma