Bowen Yu's submission of Almost Sorted Permutation | CodeChef