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.
Nice one on dynamic programming, well done.
The same issue :/
text = "7rc4F3z1QVNWp9CN", duplicateCount(text) should equal 3. 2 is not equal to 3.
Expected:3
Actual:2
Where is the third?
Smooth!
Nice Kata!
Approved
Good question
Prolog translation
Fixed.
Merged.
C++ Translation
Both issues fixed in this fork.
I'm using
assert.sameOrderedMembers
, because the chaiassert.deepEqual
discriminates between+0
and-0
for some reason.sameOrderedMembers
instead uses===
for comparison.JavaScript fork
Lua translation!
This comment is hidden because it contains spoiler information about the solution
Thanks!! :D
Loading more items...