Rosetta Problems

Inversion of Tree

https://atcoder.jp/contests/abc323/tasks/abc323_g