C++ || Easy
\nclass Solution {\npublic:\n    bool findSubarrays(vector<int>& nums) {\n        vector<int> ans;\n        for(int i=0;i<nums.size()-1;i++){\n            int x
```\nclass Solution {\npublic:\n    bool findSubarrays(vector<int>& nums) {\n        vector<int> ans;\n        for(int i=0;i<nums.size()-1;i++){\n            int x=nums[i]+nums[i+1];\n            ans.push_back(x);\n        }\n        sort(ans.begin(),ans.end());\n        for(int i=0;i<ans.size()-1;i++){\n            if(ans[i]==ans[i+1]) \n                return true;\n        }\n        return false;\n    }\n};\n```
['C', 'C++']