Paymentology Interview Question

2D array coding exercise for take home test