Pergunta de entrevista da empresa Veeva Systems

some array traversal problems. one with strings