1/3 Test Cases Passed
You need to earn 2 or 3 stars in order to submit.
1/3 Test Cases Passed
You need atleast 2 stars to grade your answer.
Test Cases (0/3)
-
removeNegatives([-1,-3,-5,10]) to return [10]
-
removeNegatives([-1,-3,-5,-10]) to return []
-
removeNegatives([10, 20, 30, -40, -50]) to return [10, 20, 30]