you give array integer arr integer targetyou find nonoverlapping subarray arr sum equal target there multiple answer find answer sum length subarray minimumreturn minimum sum length require subarray return 1 find subarray Example 1input arr 32243 target 3output 2explanation only subarray sum 3 3 3 the sum length 2example 2Input arr 7347 target 7output 2explanation although nonoverlapping subarray sum 7 7 34 7 choose subarray sum length 2example 3Input arr 4326234 target 6output 1explanation we subarray sum 6 Constraints1 arrlength 1051 arri 10001 target 108