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.
It's a shame that I didn't understand the solution algorithm correctly and went in the wrong direction. Great kata!
It`s look great
thx
Sure, my mistake.
Shouldn't it be
DuplicateCount
then?COBOL translation.
Go: function name should be in PascalCase (Duplicatecount).
Let's start with this: What part of the Kata description did you not understand?
it should be
text.lower()
nottext.lower
We don't know what you are doing, but this is not a kata issue. Tests work fine in c++.
This comment is hidden because it contains spoiler information about the solution
Check the docs about how to post your code here, so we can see what you did instead of guessing it.
I used lower()
did you reassign the variable
text
to something you shouldn't have? (e.g.text = str
or something along those lines)You're trying to iterate over an empty string.
Loading more items...