Python Set Intersection Complexity Approach Target