Arvind Rachuri's submission of Almost Sorted Permutation | CodeChef