Match Payments to Invoices with a Forgiveness Range
Given invoices and payments, match each payment to an invoice.
Each invoice has a unique invoice_id, a date in YYYY-MM-DD format, and a non-negative integer amount. Each payment has a unique ...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
