Capital One Interview Question

Case with some data and math calculation.