Pergunta de entrevista da empresa Google

Given a array find a continuous subarray which equals to a particular sum.