java very easy with 3 sections to  understand easily
\nclass Solution {\n    public  boolean findSubarrays(int[] nums) {\n        HashMap<Integer,Integer>hmap = new HashMap<>();\n       ArrayList<Integer>sum= new 
```\nclass Solution {\n    public  boolean findSubarrays(int[] nums) {\n        HashMap<Integer,Integer>hmap = new HashMap<>();\n       ArrayList<Integer>sum= new ArrayList<>();\n        for(int i=0;i<nums.length;i++){\n            if(i+1<nums.length){\n            sum.add(nums[i]+nums[i+1]);\n            }\n        }\n      \n        for(int i=0;i<sum.size();i++){\n            if(hmap.containsKey(sum.get(i))){\n                int ov =hmap.get(sum.get(i));\n                int nv = ov+1;\n                hmap.put(sum.get(i),nv);\n            }else{\n                hmap.put(sum.get(i),1);\n            }\n        }\n        for(int key:hmap.keySet()){\n            if(hmap.get(key)>1){\n                return true;\n            }\n        }\n        return false;\n    }\n}\n```
['Array', 'Java']