1/4 Test Cases Passed
You need to earn 2 or 3 stars in order to submit.
1/4 Test Cases Passed
You need atleast 2 stars to grade your answer.
Test Cases (0/4)
-
bubbleSort([5,3,1,2]) to return [1,2,3,5]
-
bubbleSort([5,4,3,2,1]) to return [1,2,3,4,5]
-
bubbleSort([5, 3, 1, -1, -3]) to return [-3,-1,1,3,5]
-
bubbleSort([5, 3, 1]) to return [1,3,5]