Intersection of Two Arrays (Easy 349) Given two arrays, write a function to compute their intersection. Solution: Click here Put one array contents into set. Iterate over other and compare. O(n) space, O(n) time. Installation Run make to run python and Swift files.