Minimum Edge Weight Equilibrium Queries in a Tree
Along a query path, keep the most common edge weight: every other edge on the path must be changed once.
Along a query path, keep the most common edge weight: every other edge on the path must be changed once.