Practice Problem

Alien Dictionary

Difficulty: Hard

Given a sorted list of words in an alien language, determine the order of characters in the alien alphabet using topological sort.