Problem 1419 · Medium

Minimum Number of Frogs Croaking

Find the fewest frogs needed to produce a croak sequence in which each frog calls its letters in order. The visual shows how many frogs are active at each character.

Open the interactive visualisation