Visa Inc. Interview Question

How to code an array