Build Array from Permutation - DSA Problem | Talentd