DIY: Alien Dictionary

Solve the interview question "Alien Dictionary" in this lesson.

Problem statement

In this coding exercise, you are given an array 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.

Given an array of ...