C # program to find the Minimum length Unsorted Subarray , sorting which makes the complete array sorted
using System ; class GFG { static void printUnsorted ( int [ ] arr , int n ) { int s = 0 , e = n - 1 , i , max , min ;