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.
In Dart, I checked
expect(duplicateCount("add")), equals(1));
and it passed. Thanks,
Even I got the same issue and then I realised I didn't converted my code to lowercase and then after doing that. I reran the test and everything turned up good, I mean it worked!
yes still I don't know what's wrong but it works now!
Thanks ))
one of the most easiest(personal opinion) code I have seen till now in this page!
nice code ^^
Why in Dart 'add' --> 2? Not 1 (only 'd' appears in the string two times)
Have the same in dart (, in 'add' we meet 'd' two times so the output must be 1 (isn't?)