Skip to main content
DevHives

Alien Alphabet Order

Loading editor…

3 examples run when you press Run. Submit checks every hidden test too.

Case 1
Input:
["pt","pm","tm","tmq","m"]
Expected:
"pqtm"
Case 2
Input:
["ab","b","ba","a"]
Expected:
""
Case 3
Input:
["bat","ba"]
Expected:
""
Ready

Run checks your code against the 3 examples. Submit checks it against all 203 tests and needs a free account. You can also try ideas in the free JavaScript or Python compiler.