Simple setwise coprimality check
Intuition\nWe need to determine if the numbers are setwise coprime.\n\n# Code\n\nclass Solution:\n    def isGoodArray(self, nums: List[int]) -> bool:\n        r
# Intuition\nWe need to determine if the numbers are setwise coprime.\n\n# Code\n```\nclass Solution:\n    def isGoodArray(self, nums: List[int]) -> bool:\n        return reduce(gcd, nums) == 1\n```
['Python3']