Visa Inc. Interview Question

Problem solving