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.
dont need use return if function wrote in 1 line
What does your solution return for following test case? What should it return?
generateHashtag(" ".repeat(200))
You are getting the same error all the time because you have the same bug all the time.
We do not know what bug it is, because we do not know your code.
Try logging what
str2[i]
contains after you split it. You should know what you're doing wrong from there.This is an issue of your code, not the kata. So please, next time you encounter error from your solution and you want to ask in discourse, don't flag it as issue.
Resolved.