2 ms·
A very easy, common example: given two lists of objects (from a database most likely), find the set of objects contained in both lists. The naive solution is a
by brown9-2 14y ago
A very easy, common example: given two lists of objects (from a database most likely), find the set of objects contained in both lists. The naive solution is a double for loop over each collection.