Problem 2049 · Medium
Count nodes whose removal yields the highest product of remaining component sizes.
Open the interactive visualisation