Write anagram_groups(words) returning how many groups of anagrams there are (case-insensitive): ["listen","silent","enlist","google"] → 2.
anagram_groups(['listen', 'silent', 'enlist', 'google']) → 2
anagram_groups([]) → 0
Submit runs 4 tests, including hidden edge cases.
Run your code to see the output here.