Two tasks about arrays with strings