Amazon Interview Question

Longest sub-array with sum k