Beats 100% Faster C++ Easy Code ✅✅✅✅
\n# Code\n\nclass Solution {\npublic:\n    vector<int> findIntersectionValues(vector<int>& nums1, vector<int>& nums2) {\n        ios_base::sync_with_stdio(false
\n# Code\n```\nclass Solution {\npublic:\n    vector<int> findIntersectionValues(vector<int>& nums1, vector<int>& nums2) {\n        ios_base::sync_with_stdio(false);\n        cin.tie(NULL);\n        cout.tie(NULL);\n        \n        vector<int>v;\n        int c1=0;\n        for(auto i:nums1){\n            if(find(nums2.begin(),nums2.end(),i)!=nums2.end()){\n                c1++;\n            }\n        }\n        v.push_back(c1);\n        c1=0;\n        for(auto i:nums2){\n            if(find(nums1.begin(),nums1.end(),i)!=nums1.end()){\n                c1++;\n            }\n        }\n        v.push_back(c1);\n        return v;\n    }\n};\n```
['C++']