Google interview question

Subarray sum equals k leetcode problem.