Facebook | Phone | Verifying an Alien Dictionary
Anonymous User
1501

Check if List of String is sorted with custom ordering.

First and foremost, i was able to clear this coding part fairly easily.
> discussed how i can use multiple data structures to implement this algorithm

Input:
ListOfString = {"abc", "cab", "bac", "acb"}
CustomOrder = {'c', 'a', 'b'}

Output: False

Put your approach here
Also mention how you would sort the algorithm

Comments (5)