Shivam Mittal's submission of Ambiguous Permutations | CodeChef