give integer array nums integer leave right return number contiguous nonempty subarray value maximum array element subarray range leave rightthe test case generate answer fit 32bit integer Example 1input num 2143 leave 2 right 3output 3explanation there subarray meet requirement 2 2 1 3example 2input num 29256 leave 2 right 8Output 7 Constraints1 numslength 1050 numsi 1090 leave right 109