Credit Genie Interview Question

personal experience and how I will solve the problem