Largest Permutation | HackerRank