269. Alien Dictionary

Problem

Derive the order of letters in an alien language from a sorted dictionary of alien words.

Given a sorted dictionary of alien words, derive the order of characters in the alien language. The dictionary is sorted according to the alien language's lexicographic order.

Examples
Input: ["wrt","wrf","er","ett","rftt"]
Output: "wertf"
Hints
Related Problems

269. Alien Dictionary

Derive the order of letters in an alien language from a sorted dictionary of alien words.