Capital One Interview Question

Simple case study