OkCredit interview question

Questions related to the assignment