I have generated 1000s of strings. I want the program to match each of the string to 20 master strings and display those generated strings which match with any one of the master string. Can someone please explain how to do this with a small example?
Any method will probably involve taking a string from either list, then comparing it to every string in the other list. Then repeating for each string in the first list. Probably. If it's sorted, there are other ways, but this is the easiest way.