Rohan Kumar's submission of Perfect Permutation | CodeChef