Alphabet from a sorted word list
A language uses the lowercase letters a–z, but in its own alphabetical order. words is a list of its words, already sorted by that order. Return a string with every letter that appears in words, each once, in an order consistent with the list. Whenever several letters could come next, take the one that comes first in the normal a–z alphabet, so the answer is unique. If no order can explain the list, return "".
As in any dictionary, a word comes after its own prefixes: ["ab", "a"] is invalid.
Examples
letter_order(["tap","tag","pat","gap"])→"atpg"letter_order(["cb","ca","ba"])→"cba"letter_order(["ab","a"])→""letter_order(["x","y","x"])→""