C++ solution
\nclass Solution {\npublic:\n    vector<int> intersection(vector<vector<int>>& nums) {\n        vector<int> hsh(1005,0),ans;\n        for(auto&_nums:nums)\n    
```\nclass Solution {\npublic:\n    vector<int> intersection(vector<vector<int>>& nums) {\n        vector<int> hsh(1005,0),ans;\n        for(auto&_nums:nums)\n            for(int&x:_nums)\n                hsh[x]++;\n        for(int i=1; i<hsh.size(); i++)\n            if(hsh[i]==nums.size()) ans.push_back(i);\n        return ans;\n    }\n};\n```
['C', 'C++']