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.
Fixed.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
still better than those hacky stream solutions
I can't see any updates to the Java test code?
Shouldn't be that array final then ?
Hi. What is the value of
string
here? There are tests which check the edge case where there are less than n occurrences (which I think is what you're getting at?); can you give a link to a solution that passes all the tests that you believe is incorrect? It may be the case that the random tests need to be improved to ensure this is also checked there, but as it stands your issue hasn't got enough info for me to do anything about it (FYI am only speaking for Python, haven't checked the position for the C translation).Hi!
Could you explain, what do you mean?
Are there any examples?
Yes digits are not considered as character and empty string is not a substring as well.
Remember, when K = 1 or 0, it is the same distance from the pawns at P= 5, for example.
Yep, definitely "very minor" issues. I thought about that, and in production one should really think about the implementation of the correct algorigthm to compute overlapping intervals. But still, it's a funny, dumb and straightforward solution :)
Hope you like my solution then :).
I know. It's most likely not the solution one is looking for when declaring it final. I still am very new to the game, but back then i was glad to get a "green light". :D
Wonderful English!
Loading more items...