Sollicitatievraag bij Expedia Group

Finding given number sum within the array given--- minimum length sub array