CQSE Interview Question

Check if subarray exists in an array.