you give integer array num integer thresholdFind subarray nums length k element subarray great threshold kReturn size subarray if subarray return 1A subarray contiguous nonempty sequence element array Example 1input num 13431 threshold 6output 3explanation the subarray 343 size 3 element great 6 3 2note valid subarrayExample 2input num 65658 threshold 7output 1explanation the subarray 8 size 1 8 7 1 7 so 1 returnednote subarray 65 size 2 element great 7 2 35 similarly subarray 656 6565 65658 satisfy give conditionsTherefore 2 3 4 5 return Constraints1 numslength 1051 numsi threshold 109