Find the Minimum Amount of Time to Brew Potions
Wizards work through potions in order, with each potion visiting every wizard in turn for skill times mana and moving on with no waiting. Find the earliest time at which the last potion can finish.
Wizards work through potions in order, with each potion visiting every wizard in turn for skill times mana and moving on with no waiting. Find the earliest time at which the last potion can finish.