Shivshanker Singh's submission of Perfect Permutation | CodeChef