Test Cases (0/3)
    • countPositives([-1,1,1,1]) to return [-1,1,1,3]

    • countPositives([-1,-5,-5,10]) to return [-1,-5,-5,1]

    • countPositives([1,2,3,2]) to return [1,2,3,4]

    Output
    Michael
      (0/300)