text: Minimum GCD among all sub - arrays will be the GCD of all the elements of the array
code: for i in range ( n ) : NEW_LINE INDENT minGCD = gcd ( minGCD , arr [ i ] ) ; NEW_LINE DEDENT return minGCD ; NEW_LINE