Available question text
Given n wizards (machines) and m potions (jobs) that must pass through all wizards in the given order, where processing time on wizard i for potion j is time_ij = skill[i] * mana[j], find the minimum makespan under the constraint that each potion must be handed to the next wizard immediately on completion (no waiting between stages). This is a flow-shop/pipeline scheduling problem with rank‑1 processing times (a_i * b_j) requiring optimal spacing of job start times to avoid machine conflicts.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3494. Find the Minimum Amount of Time to Brew Potions
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source