Alien Dictionary
Sep 7, 2025 · 4 min read · Problem A new alien language uses the English alphabet, but the order of letters is unknown. You are given a list of words[] from the alien language’s dictionary, where the words are claimed to be sorted lexicographically according to the language’s ...
Join discussion