Sliding-Window + HashMap
\n bool findSubarrays(vector<int>& nums) {\n        int ind=0,sum=0;\n        map<int,int>mp;\n        for(int i=0;i<nums.size();i++)\n        {\n            su
```\n bool findSubarrays(vector<int>& nums) {\n        int ind=0,sum=0;\n        map<int,int>mp;\n        for(int i=0;i<nums.size();i++)\n        {\n            sum+=nums[i];\n            if(i-ind+1==2)\n            {\n                if(mp[sum]!=0)return 1;\n                mp[sum]++;\n                sum-=nums[ind++];\n            }\n        }\n        return 0;\n```
['C', 'Sliding Window', 'C++']