I have an array of integers, I have to find all sub-arrays of different size from 1 to len(array). In every sub-array I have to find the minimum value in it, once done I have to