RAM interview question

Array where you have to find subarray