Shubhodeep Chanda's submission of Ambiguous Permutations | CodeChef