Suransh Chopra's submission of Minimum Good Permutation | CodeChef