Capital One Interview Question

Question about comparing transaction numbers