give integer array num need find continuous subarray sort subarray ascend order array sort ascend orderreturn short subarray output length Example 1input num 264810915output 5explanation you need sort 6 4 8 10 9 ascending order array sort ascend orderexample 2input num 1234output 0example 3input num 1output 0 Constraints1 numslength 104105 numsi 105 Follow can solve on time complexity