FIS interview question

Create an amortisation schedule