✅ Two-liner, 7ms Beats 88.24%
Code\nswift\nfunc findSubarrays(_ nums: [Int]) -> Bool {\n    var sums: Set<Int> = []\n    return (1..<nums.count).contains { !sums.insert(nums[$0] + nums[$0 - 
# Code\n```swift\nfunc findSubarrays(_ nums: [Int]) -> Bool {\n    var sums: Set<Int> = []\n    return (1..<nums.count).contains { !sums.insert(nums[$0] + nums[$0 - 1]).inserted }\n}\n```
['Swift']