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.
I'm curius whether we're supposed to return each number or print it. I am not aware of any ways to repeatedly return value from a method. As far as i know, once a return statement is executed the program exits from the function. This is why I have choosen to use the "println" method as well.
You're right, i'm new to this. Thank you! i've figured out my problem. I'll be more careful next time.
I have noticed that the randomly generated test cases measures all occurences of the returned strings as substrings in the input text. So if one the strings i outputed was "mhvhd" and "mhvhdmhvhd" was part of the string generated by the text function it expects that "mhvhd" should be counted twice. The test function isn't working on the same delimeters as the instruction. Atleast this is the case in java.