Vijay Thurpati's submission of Almost Sorted Permutation | CodeChef