Capital One Interview Question

Regular CS stuff