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)
-
isCreditCardValid( [5, 2, 2, 8, 2] ) to return true
-
isCreditCardValid( [5, 2, 3, 8, 2] ) to return false
-
isCreditCardValid( [4,2,2,2,2,2,2,2,2,2,2,2,2] ) to return true
-
isCreditCardValid( [4,0,1,2,8,8,8,2,5,6,8,8,1,8,9,1] ) to return false