Test Cases (0/3)
    • updateNegativeToZero([-1, -5, -10, 5]) to return [0, 0, 0, 5]

    • updateNegativeToZero([-1, -5, -10, 5, 3, -15, 25]) to return [0, 0, 0, 5, 3, 0, 25]

    • updateNegativeToZero([10,50,-100, -200]) to return [10, 50, 0, 0]

    Output
    Michael
      (0/300)