Amazon interview question

Longest sub-array with sum k