Semi-Ordered Permutation - DSA Problem | Talentd