Problem 3066 · Medium

Minimum Operations to Exceed Threshold Value II

Repeatedly combine the two smallest numbers in a min heap until every number reaches the threshold.

Open the interactive visualisation