Given an integer array nums that does not contain any zeros, find the largest positive integer k such that its negation also exists in the array.
Return the value of k. If no such integer exists, return
Constraints:
nums.length
nums[i]
nums[i]
Given an integer array nums that does not contain any zeros, find the largest positive integer k such that its negation also exists in the array.
Return the value of k. If no such integer exists, return
Constraints:
nums.length
nums[i]
nums[i]