Mayank Pratap Singh's submission of Ambiguous Permutations | CodeChef