DIY: Alien Dictionary
Explore how to determine the lexicographical order of letters in an alien language by analyzing sorted word lists. This lesson helps you develop skills to implement solutions for unique orderings, a useful technique for complex coding interviews.
We'll cover the following...
We'll cover the following...
Problem statement
In this coding exercise, you are given a list of words written in an alien language, where the strings in the words are sorted lexicographically by the rules of this language. Surprisingly, the aliens also use English lowercase letters, but possibly in a different order. ...