Domanda di colloquio di Siya Tech Ventures

Given a array and string at each index, need to reverse each index