Given an integer array nums sorted in nondecreasing order, return the maximum value between the count of positive integers and the count of negative integers.
Note: The integer
is neither positive nor negative.
Constraints:
nums.length
nums[i]
nums is sorted in nondecreasing order.
Given an integer array nums sorted in nondecreasing order, return the maximum value between the count of positive integers and the count of negative integers.
Note: The integer
is neither positive nor negative.
Constraints:
nums.length
nums[i]
nums is sorted in nondecreasing order.