Hritik Kumar Sharma's submission of Minimum Good Permutation | CodeChef