HackerRank Set Mutations in python problem solution - TheCScience