shivam rustagi's submission of Ambiguous Permutations | CodeChef