Capital One interview question

basic questions