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

    • noNeg([1,5,10]) to return [1,5,10]

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

    • noNeg([2,-5,-10, -5]) to return [2,0,0,0]

    • noNeg([-1, -3, -5]) to return [0,0,0]

    Output
    Michael
      (0/300)