Find the longest subarray with sum equal to target (return the length only). Example: arr=[1,-1,5,-2,3].
Unlock detailed company stats for this questionUpgrade
Format · Technical interview.
Community answers
No answers contributed by the community yet.
Related questions
Find the length of the longest subarray with sum equal to 0.Given an array, find the length of the longest subarray with sum less than or equal to k.Find the longest subarray with equal 0s and 1s and no prefix with more 0s than 1s.Related courses

Course

Course
Course
