You are given a 0-indexed string array words of lowercase English letters. In one operation, pick an index i with 0 < i < words.length such that words[i - 1] and words[i] are anagrams, and delete words[i]. Keep doing this while any such index exists.
Return words after all operations. The result is the same no matter which order the operations are done in. An anagram is a word formed by rearranging all the letters of another word, using each letter exactly once.