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)
-
swapTowardCenter([true,42,"Ada",2,"pizza"]) to return ["pizza",2,"Ada",42,true]
-
swapTowardCenter([1,2,3,4,5,6]) to return [6,5,4,3,2,1]
-
swapTowardCenter(["hi", "coding", "dojo", "fans"]) to return ["fans","dojo","coding","hi"]