Locating missing items in two sequences - 10,000 items
The problem is to detect values in source which are missing from target. These algorithms are both O(N)
The test data is generated and saved to db
Loop through source, lookup in target in indexed document in db
construct a map using the target and loop through the source