Problem 2273 · Easy

Find Resultant Array After Removing Anagrams

Keep a word only when it is not an anagram of the last kept word, which removes every adjacent anagram in one pass.

Open the interactive visualisation