Find the Minimum Amount of Time to Brew Potions
Try to solve the Find the Minimum Amount of Time to Brew Potions problem.
We'll cover the following...
We'll cover the following...
Statement
You are given two integer arrays skill and mana. There are n wizards arranged in a fixed order, where wizard i has skill value skill[i], and there are m potions to brew in order, where potion j has mana requirement mana[j].
Brewing a single potion must be done by all wizards sequentially from wizard