Shopee Interview Question

Subarray sum that adds up to a target