Search
⌘K

Leetcode 2362. Generate the Invoice

Given raw transaction and item records plus a set of business rules, generate a final invoice that lists aggregated line items, subtotals, taxes, discounts, and the correct grand total. The core challenge is correctly grouping and aggregating records and applying hierarchical rules (discounts, taxes, returns, rounding) in the right order while handling numerical precision and edge-case adjustments.


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.