1 DSA problems asked in Pinterest coding interviews
0 Easy
0 Medium
1 Hard
All Categories
All
1 problem
Graph1
Alien Dictionary
Hard
There is a new alien language that uses the English alphabet. However, the order among the letters is unknown to you. You are given a list of strings words from the alien language's dictionary, where the strings in words are sorted lexicographically by the rules of this new language. Return a string of the unique letters in the new alien language sorted in lexicographically increasing order by the new rules. If there is no solution, return "".