Kingdom of Equality

There is a kingdom called DomKi. There are N cities and N – 1 bidirectional roads in DomKi. The cities of DomKi are connected to each other in such a way that it forms a Tree.


This is a companion discussion topic for the original entry at https://toph.co/p/kingdom-of-equality