Shopee interview question

Subarray sum that adds up to a target