give array positive integer num positive integer target return minimal length subarray sum great equal target if subarray return 0 instead example 1input target 7 num 231243output 2explanation the subarray 43 minimal length problem constraintexample 2input target 4 num 144output 1Example 3input target 11 num 11111111output 0 Constraints1 target 1091 numslength 1051 numsi 104 Follow if figure on solution try code solution time complexity on logn