Amazon interview question

Longest sub-array with sum k

Amazon Interview Question: Longest sub-array with sum k | Glassdoor