July 4th Sale
Limited Time Deal: Unlock all premium questions for over 40% off
$10.42$6.25
10
:
09
:
25
:
30
Back to Dashboard
Order Payment Reconciler
Medium
A billing system needs to match incoming payments to open orders. Each payment arrives as a comma-separated string with three fields: a payment ID, a payment amount (positive integer), and a memo note. The memo may contain a reference like "ref:<orderId>" indicating which order the payment targets. Each order is also a comma-separated string with three fields: an order ID, an order amount (positive integer), and a due date in "YYYY-MM-DD" format.
...