Frage im Vorstellungsgespräch bei Liberty Mutual Insurance

Two coding questions with strings/arrays