Valid Permutations for DI Sequence - DSA Problem | Talentd