Capital One Interview Question

Got a really hard case interview