Visa Inc. Interview Question

Something about Strings, and also explain what could break the code.