Primer interview question

The take home exercise about payment program