Zendesk Interview Question

Simple String problem