Search⌘ K
AI Features

DIY: Alien Dictionary

Explore how to analyze a list of alien language words sorted lexicographically to infer the unique alphabetical order. Learn to implement the alienOrder function that returns letters sorted by the alien dictionary rules or an empty string if no valid order exists.

Problem

...