from collections import defaultdict, Counter, deque def alien_order(words): # Replace this placeholder return statement with your code return ""