Capital One interview question

Basic question