DIY: Alien Dictionary
Explore how to determine the lexicographical order of letters in an alien language based on a list of sorted words. Understand how to implement this in Rust to solve coding interview problems involving custom dictionary orders.
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. ...