โ† Amazon questions

Verify Alien Dictionary Ordering Validity

Filed under Amazon

Given a sequence of words written in an alien language and the order of the alphabet, return true if and only if the given words are sorted lexicographically in this alien language.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.