Easy Hashing | C++
Code\n\nclass Solution {\npublic:\n    vector<int> findIntersectionValues(vector<int>& nums1, vector<int>& nums2){\n        vector<int> mp1(105,0) , mp2(105,0);
# Code\n```\nclass Solution {\npublic:\n    vector<int> findIntersectionValues(vector<int>& nums1, vector<int>& nums2){\n        vector<int> mp1(105,0) , mp2(105,0);\n        for(int num : nums1) mp1[num] = 1;\n        for(int num : nums2) mp2[num] = 1;\n        vector<int> ans(2,0);\n        for(int num : nums1) ans[0] += mp2[num];\n        for(int num : nums2) ans[1] += mp1[num];\n        return ans;\n    }\n};\n```
['C++']