JPMorganChase Interview Question

There was a few easy questions about strings.