Ritesh's submission of Building Permutation | CodeChef