Array Transformation - DSA Problem | Talentd