Question d’entretien chez Siya Tech Ventures

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