Search
⌘K

Leetcode 1677. Product's Worth Over Invoices

Given a list of invoice line items (product id, unit price and quantity), aggregate each product's total worth across all invoices by grouping by product and summing price × quantity; this is a straightforward hashing/aggregation task.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.