Andrii Maksai's submission of Subanagrams | CodeChef