Permutation game

Problem Name:
Permutation game
Site:HackerRank
Links:
Tags:
Problem setters: