Efficient easy solution with Set
Code\n\n/**\n * @param {number[]} nums\n * @return {boolean}\n */\nvar findSubarrays = function(nums) {\n    const sumSet = new Set();\n\n    for (let i = 0; i 
# Code\n```\n/**\n * @param {number[]} nums\n * @return {boolean}\n */\nvar findSubarrays = function(nums) {\n    const sumSet = new Set();\n\n    for (let i = 0; i < nums.length - 1; i++) {\n        const sum = nums[i] + nums[i + 1];\n\n        if (sumSet.has(sum)) {\n            return true;\n        }\n\n        sumSet.add(sum);\n    }\n\n    return false;\n};\n```
['JavaScript']