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.
"abcabcd" is NOT a valid word because "a" appears twice, "b" appears twice, "c" appears twice, but "d" only appears once!
got the random test with string "p1imv$!nytsvdfrid%3mxgz!h#!pp11imv$$nnyyttssdffrr%%33xxggzzhh##". so there are letters which can appear twice and once, my code says FALSE, but you want it be TRUE. WHY?
[15,1,15,1,-3,1,-8,1,-9,1,8,1,10,1,-7,1,-4,1,-5,1]
'15' appears 2 times. so '2' appears 0 times. but this kata says it should be equal 1. why?!
[-10,1,-1,1,7,1,10,1,-2,1,4,1,-3,1,-2,1,2,1,-7,1,11,1,4,1,-3,1,12,1,12,1,-2,1]
'-10'appears 1 time. so '1' appears 16 times. but this kata says it should be equal 0 ...
i think this kata is broken or author should give us much more info
Testing for 458 and "sfalf": expected 'That was close!' to equal 'Fire!'
69.86% cannot be higher than 70% ... ISSUE
Test.assertEquals(cornerCircle(3), 0.51) ---> this should iquals ~0.43 (exactly 0.4393398282201789).
Test.assertEquals(cornerCircle(17), 2.92) ---> this should iquals ~2.48 (exactly 2.4895923599143472).
broken kata? can someone fix it or we have to wait author?
2 ez 4 six kyu. should be seven or higher
too easy for 6 kyu. rank down plz
should work for n of 0
[ 1, 6, 2, 3, 7, 8, 7 ] 0
[ 1, 2, 3, 4 ] 0
doesn't work! should it be equal 0? i tried @if (n === 0) return 0@ but this not works anyway ...
oh, my bad. i read description wrong. now it works fine. thank you :).
There is an issue in the first example. I think you mean s1=2 and s2=2 too, because you will never get correct array by multiplying s1 and s2 (2 * 4 !== 4). My other tests works fine (exclude first).