1MS 🥇|| BEATS 100% 🥂 || 7 LINE CODE ⛳ || 🌟JAVA ☕
Code
![Screenshot 2025-01-11 154428.png](https://assets.leetcode.com/users/images/dcc90620-707a-4cb5-8bb6-aa1e8c06f026_1737275707.6414719.png)


# Code
```java []
class Solution {
    public boolean findSubarrays(int[] nums) {
        HashSet<Integer> hs = new HashSet<>();

        for(int i = 0 ; i < nums.length - 1; i++){
            int sum = nums[i] + nums[i+1];
            if(hs.contains(sum)){
                return true;
            }
            hs.add(sum);
        }  
        
        return false;
    }
}
```
![7b3ed9e7-75a3-497e-85ef-237ed4f4fef7_1735690315.3860667.png](https://assets.leetcode.com/users/images/da11df18-f160-4222-83c6-9aa7d5d77e08_1737275728.034293.png)

['Java']