Count of Positive and Negative Integers
# written by Ashir O(logn)
class Solution:
def maximumCount(self, nums: List[int]) -> int:
l, r = 0, len(nums) - 1
count_pos = 0
count_neg = 0
zeros = 0
if nums[0] == 0 and nums[-1] == 0:
retu...
ashirmehmood.hashnode.dev1 min read