Problem 3373 · Hard

Maximize the Number of Target Nodes After Connecting Trees II

Two-colour both trees by depth parity; the best bridge is the larger colour class of tree 2.

Open the interactive visualisation