1# Runtime: 527 ms (Top 22.03%) | Memory: 24.7 MB (Top 71.19%)2class Solution:3 def isGoodArray(self, nums: List[int]) -> bool:4 def gcd(a, b):5 while a:6 a, b = b % a, a7 return b89 return reduce(gcd, nums) == 1
WPM •0 •0
ACC •0 •0
TIME •0