Visa Inc. Interview Question

Strings and arrays and one sql question