Capital One interview question

case interview