Search
⌘K

Leetcode 2395. Find Subarrays With Equal Sum

Determine whether any two distinct length-2 contiguous subarrays (adjacent pairs) in the array have the same sum — equivalently, check if any adjacent-pair sum appears more than once.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.