Rishi Mohan Jha's submission of Minimum Good Permutation | CodeChef