Go solution. Beats 96%
Code\n\nfunc findMaxK(nums []int) int {\n    alreadySeenNums := map[int]bool{}\n    res := -1\n\n    for _, num := range nums {\n        numAbs := int(math.Abs(
# Code\n```\nfunc findMaxK(nums []int) int {\n    alreadySeenNums := map[int]bool{}\n    res := -1\n\n    for _, num := range nums {\n        numAbs := int(math.Abs(float64(num)))\n\n        if numAbs < res {\n            continue\n        }\n\n        if alreadySeenNums[-num] {\n            res = numAbs\n        } else {\n            alreadySeenNums[num] = true\n        }\n    }\n\n    return res\n}\n```\n\nPlease upvote if you found this solution useful
['Go']