Arrays and strings

2025
How did I approach optimizing this solution?