Maximum Count of Positive Integer and Negative Integer | Leetcode 2529