Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
If you're referring to the second sample test, the input is
sc301s
, the expected return value isc0s3s1
, your current code returnss1cs30
strng='c0s3s1'
array=[4,0,3,1,5,2]
"c"=4
"0"=0
"s"=3
"3"=1
"s"=5
"1"=2
result=031scs
x
should equaly
means that your code returnedx
, but the test expected your code to returny
. You might be reading that backwards.score_hand(['A','A']) expected 20 not 12
This comment is hidden because it contains spoiler information about the solution
expect(caffeineBuzz(4)).to.equal("mocha_missing!")?
4%4=0 then expect Coffee