← Questions
Alien dictionary
0
I was asked this
No reports yet. Sign in to say where you were asked it.
You get a list of words sorted in the dictionary order of an unknown alphabet. Derive an order of the letters that is consistent with it, or report that none exists. Explain how you build the graph from adjacent words, the prefix edge case, and cycle detection. Only the title of this report was public; the details follow the common version of the problem.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding

