You are given two integer arrays categories and cost, each of size N.
For every index i:
…
Unlock the full statement, examples, constraints, and solution guidance.
…
{1, 2, 3}
But all four costs are included in totalCost.
Squarepoint capital c++ dev • Pending
Eternal - SDE • Pending
Eternal - SDE • Pending
Eternal - SDE • Pending
Squarepoint capital dqa • Pending