Python | Easy Solution✅
Code\u2705\n\nclass Solution:\n    def findMaxK(self, nums: List[int]) -> int:\n        pos, neg= set(), set()\n        for digit in nums:\n            pos.add(
# Code\u2705\n```\nclass Solution:\n    def findMaxK(self, nums: List[int]) -> int:\n        pos, neg= set(), set()\n        for digit in nums:\n            pos.add(digit) if digit > 0 else neg.add(digit)\n            \n        for digit in sorted(pos,reverse = True):\n            if (digit*-1) in neg:\n                return digit\n        return -1\n```
['Python', 'Python3']