Popular interview question:
Given an array of positive integers and a target integer, find if there is a consecutive subarray that sums to the target.
E.g.
Array = [1,3,6,7,8,10]
Target = 16
The subarray that sums to 16 is [3,6,7]
, so it returns true.