Shivam Kumar Singh's submission of Minimum Good Permutation | CodeChef