Credit Karma interview question

Some coding and some behavioral.