Capital One interview question

Regular algorithm questions that are not too difficult