So I am given a string:
x = "llo";
I have a string array with a list of words:
words{}={"hi", "bye", "lol"};
I have to compare x to each of the strings in the array to determine what x is if it is 'unscrambled'.
What is the best possible way to do this?