maximum count of positive integer and negative integer javascript solution

join shbcf.ru