Leap Wallet interview question

Discussed the assignment which was previously given